Skip to content

Commit

Permalink
Update test file
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Aug 17, 2021
1 parent 6ab58ea commit 08f30df
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions test/templates/api/009-permissions.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"before": {
"application": {
"name": "Test_application permissions",
"description": "description for permissions",
"redirect_uri": "http://localhost/login",
"url": "http://localhost",
"grant_type": [
"authorization_code",
"implicit",
"password"
],
"token_types": [
"jwt",
"permanent"
]
"name": "Test_application permissions",
"description": "description for permissions",
"redirect_uri": "http://localhost/login",
"url": "http://localhost",
"grant_type": [
"authorization_code",
"implicit",
"password"
],
"token_types": [
"jwt",
"permanent"
]
}
},
"create": {
Expand All @@ -23,7 +23,7 @@
"description": "permission 1 description",
"action": "GET",
"resource": "login",
"authorization_service_header": "test",
"authorization_service_header": "test",
"use_authorization_service_header": true
}
},
Expand All @@ -42,7 +42,7 @@
"description": "permission 3 description",
"action": "GET",
"resource": "login",
"use_authorization_service_header": true
"use_authorization_service_header": true
}
},
"invalid_perm_body_no_use_authorization_service_header_but_authorization_service_header": {
Expand All @@ -51,15 +51,15 @@
"description": "permission 4 description",
"action": "GET",
"resource": "login",
"authorization_service_header": "test"
"authorization_service_header": "test"
}
},
"invalid_perm_body_authorization_service_header_and_xml": {
"permission": {
"name": "permission 5",
"description": "permission 5 description",
"xml": "<xml test 5>",
"authorization_service_header": "test"
"authorization_service_header": "test"
}
},
"invalid_perm_body_use_authorization_service_header_and_xml": {
Expand All @@ -78,14 +78,14 @@
"resource": "login",
"use_authorization_service_header": false
}
},
}
},
"read": {
"create": {
"permission": {
"name": "Test permission 2",
"description": "Test permission 2 description",
"action": "GET",
"action": "GET",
"resource": "login"
}
}
Expand All @@ -95,7 +95,7 @@
"permission": {
"name": "Test permission 3",
"description": "Test permission 3 description",
"action": "GET",
"action": "GET",
"resource": "login",
"authorization_service_header": "test",
"use_authorization_service_header": true
Expand All @@ -105,7 +105,7 @@
"permission": {
"name": "new name of permission 3",
"description": "new description of permission 3",
"action": "POST",
"action": "POST",
"resource": "resource",
"use_authorization_service_header": false
}
Expand All @@ -116,7 +116,7 @@
"permission": {
"name": "Test permission 4",
"description": "Test permission 4 description",
"action": "GET",
"action": "GET",
"resource": "login"
}
}
Expand Down

0 comments on commit 08f30df

Please sign in to comment.