diff --git a/spec/requests/profile/get_spec.rb b/spec/requests/profile/get_spec.rb index 8fae0b7..090a44c 100644 --- a/spec/requests/profile/get_spec.rb +++ b/spec/requests/profile/get_spec.rb @@ -46,14 +46,14 @@ def json_me_get describe 'totally expanded' do let(:expansion) do OpenStruct.new( - api_keys: false, - applications: true, - custom_data: true, - directory: true, - group_memberships: true, - groups: true, - provider_data: true, - tenant: true + api_keys: false, + applications: true, + custom_data: true, + directory: true, + group_memberships: true, + groups: true, + provider_data: true, + tenant: true ) end diff --git a/spec/support/api/schemas/profile_response.json b/spec/support/api/schemas/profile_response.json index ba5adfd..66b85d6 100644 --- a/spec/support/api/schemas/profile_response.json +++ b/spec/support/api/schemas/profile_response.json @@ -21,14 +21,15 @@ "items": { "anyOf": [ { "type": "object", - "required": ["href", "createdAt", "modifiedAt", "name", "description", "status"], + "required": ["href", "createdAt", "modifiedAt", "name", "description", "status", "authorizedCallbackUris"], "properties": { "href": { "type": "string" }, "createdAt": { "type": ["string", "null"] }, "modifiedAt": { "type": ["string", "null"] }, "name": { "type": "string" }, "description": { "type": "string" }, - "status": { "type": "string" } + "status": { "type": "string" }, + "authorizedCallbackUris": { "type": "array" } } } ]