Skip to content

Commit

Permalink
Merge pull request #317 from trivir/feature/theme-delete-tests
Browse files Browse the repository at this point in the history
Fix theme delete and add theme delete mocks
  • Loading branch information
vscheuber authored Oct 7, 2023
2 parents 01d6bf7 + b94ad82 commit b974de2
Show file tree
Hide file tree
Showing 36 changed files with 4,032 additions and 161 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@
{
"log": {
"_recordingName": "theme/delete/0_a/am",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.6"
},
"entries": [
{
"_id": "ccd7a5defd0fdeaa986a2b54642d911a",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"name": "accept",
"value": "application/json, text/plain, */*"
},
{
"name": "user-agent",
"value": "@rockcarver/frodo-lib/2.0.0-27"
},
{
"name": "x-forgerock-transactionid",
"value": "frodo-8333292b-3abd-44f2-b60a-b3a845b63b4e"
},
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept-api-version",
"value": "resource=1.1"
},
{
"name": "host",
"value": "openam-frodo-dev.forgeblocks.com"
}
],
"headersSize": 342,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/*"
},
"response": {
"bodySize": 553,
"content": {
"mimeType": "application/json;charset=UTF-8",
"size": 553,
"text": "{\"_id\":\"*\",\"_rev\":\"1874515102\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[]}"
},
"cookies": [],
"headers": [
{
"name": "x-frame-options",
"value": "SAMEORIGIN"
},
{
"name": "content-security-policy-report-only",
"value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "cache-control",
"value": "no-store"
},
{
"name": "content-api-version",
"value": "resource=1.1"
},
{
"name": "content-security-policy",
"value": "default-src 'none';frame-ancestors 'none';sandbox"
},
{
"name": "cross-origin-opener-policy",
"value": "same-origin"
},
{
"name": "cross-origin-resource-policy",
"value": "same-origin"
},
{
"name": "etag",
"value": "\"1874515102\""
},
{
"name": "expires",
"value": "0"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "content-type",
"value": "application/json;charset=UTF-8"
},
{
"name": "content-length",
"value": "553"
},
{
"name": "date",
"value": "Thu, 28 Sep 2023 23:11:31 GMT"
},
{
"name": "x-forgerock-transactionid",
"value": "frodo-8333292b-3abd-44f2-b60a-b3a845b63b4e"
},
{
"name": "strict-transport-security",
"value": "max-age=31536000; includeSubDomains; preload;"
},
{
"name": "via",
"value": "1.1 google"
},
{
"name": "alt-svc",
"value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
],
"headersSize": 767,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2023-09-28T23:11:31.652Z",
"time": 108,
"timings": {
"blocked": -1,
"connect": -1,
"dns": -1,
"receive": 0,
"send": 0,
"ssl": -1,
"wait": 108
}
},
{
"_id": "6125d0328ad0dcaee55f73fd8b22ca14",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"name": "accept",
"value": "application/json, text/plain, */*"
},
{
"name": "user-agent",
"value": "@rockcarver/frodo-lib/2.0.0-27"
},
{
"name": "x-forgerock-transactionid",
"value": "frodo-8333292b-3abd-44f2-b60a-b3a845b63b4e"
},
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept-api-version",
"value": "resource=1.0"
},
{
"name": "authorization",
"value": "Bearer eyJ0eXAiOiJKV1QiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiZGlyIn0..gUvll7KzfFhYBL6iAu-_HQ._QUlbIri3lY8S2o6RouxZK5yFVBILnvMZGJu26UtMSmtfKbty8AW27D_AyHSb4GwjrEzF67m2KxXoY3egmWVQjgpo181LvOSSb2jC6q7NbEJn5it-G6AFdZCP26J4rwNkpx2c2FU-129815Oj7SNS3peb_0MaIAnPq8U5_bCMaQQJqmtnRtBl3y227Tipd6ZxOU1xK2xquX14DRav8h8CfSQb5_QPDRA873cvkBlucUrtMZc0FVohc9IN7lIPg4gc-46ttVeQdmLzc-jk4CQNQRh1nTUZySmAsorZaBazAoVEX-mJXyOr-eIybg0T13j9BgKBU7ATGSmOkg-42r3kOx5Jxvdt0P6vK9E8APE4bk3uLZGMyvqdogjbJNR17CJwbNrgGB6rbEdogwbP8wCuf51Q0Yk3tNVJWn74_Bk7Q0kvc_TXe7E2dbEUKmZLYuYOug3KbVgv4osy_y8J9js5b11-xAJdqvZ-EmkOg8lIW_TkPf20fRIWFmIrbFHz1JtD1mXZYI_smsrXqwzS0ZMKWRtzjmjv0FaEZvjWidKfnGnoegZGgwSFkjOLQVpcIpGFOERF28GoNHOCozdvaNoKF18hIppHI8gi1j4Mdm5XfXDRbBpFlzbTDz-5JroR164f9h4tKHNtqIU1Nwu6f_TK-vldjAsOSP66VD9Qc9wedl0Bl3Ysx--p4zrITmIfwGbru9vtjvC6cPlOoaIZKV2WtJHwjVZWXBYEU5f-b0NsxY-04odSmRxmOEw9iU_OgN_Z_dF1SCGz9VMKbCWrJWF8vZHhQZ8CO3mnXXLHZCo_RA4US83p0RZ7k_kBB_RgBEb1i8qWjCTF-8x7ZEfhZi8wpQGGhXwIKPcSAZA9w2DgjAfQjBd_4VBv0Jq4zrXpN8OUArRxuquJPmNmzwv2xuzS9bLfpWU_yAX4C0oBxr4XuHEEGvjysgdLbz57oKx-ueomJZ4Itod1bSqS68ArtqJCNUwQB8vgehjAN7sSJbqk3rM490QKo5qQ6O-8DQ2ydneMlgS7UVSs5ymTzH8vo4sXt-ppcZAKNi3DBhua78yLYs.AmULAksd9ieHxXLhswIMTA"
},
{
"name": "host",
"value": "openam-frodo-dev.forgeblocks.com"
}
],
"headersSize": 1550,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version"
},
"response": {
"bodySize": 283,
"content": {
"mimeType": "application/json;charset=UTF-8",
"size": 283,
"text": "{\"_id\":\"version\",\"_rev\":\"1217229914\",\"version\":\"7.4.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 7.4.0-SNAPSHOT Build 7e44c1624c3a11db5b5b0b576bb162618f1ac605 (2023-September-18 09:04)\",\"revision\":\"7e44c1624c3a11db5b5b0b576bb162618f1ac605\",\"date\":\"2023-September-18 09:04\"}"
},
"cookies": [],
"headers": [
{
"name": "x-frame-options",
"value": "SAMEORIGIN"
},
{
"name": "content-security-policy-report-only",
"value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "cache-control",
"value": "no-store"
},
{
"name": "content-api-version",
"value": "resource=1.0"
},
{
"name": "content-security-policy",
"value": "default-src 'none';frame-ancestors 'none';sandbox"
},
{
"name": "cross-origin-opener-policy",
"value": "same-origin"
},
{
"name": "cross-origin-resource-policy",
"value": "same-origin"
},
{
"name": "etag",
"value": "\"1217229914\""
},
{
"name": "expires",
"value": "0"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "content-type",
"value": "application/json;charset=UTF-8"
},
{
"name": "content-length",
"value": "283"
},
{
"name": "date",
"value": "Thu, 28 Sep 2023 23:11:31 GMT"
},
{
"name": "x-forgerock-transactionid",
"value": "frodo-8333292b-3abd-44f2-b60a-b3a845b63b4e"
},
{
"name": "strict-transport-security",
"value": "max-age=31536000; includeSubDomains; preload;"
},
{
"name": "via",
"value": "1.1 google"
},
{
"name": "alt-svc",
"value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
],
"headersSize": 767,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2023-09-28T23:11:31.944Z",
"time": 77,
"timings": {
"blocked": -1,
"connect": -1,
"dns": -1,
"receive": 0,
"send": 0,
"ssl": -1,
"wait": 77
}
}
],
"pages": [],
"version": "1.2"
}
}
Loading

0 comments on commit b974de2

Please sign in to comment.