Commit 5524971c authored by James Lopez's avatar James Lopez

Update code based on feedback

parent 77adc81f
......@@ -21,7 +21,7 @@ module API
true
rescue => e
logger.error(e.message)
logger.error(identity: identity, error: e.class.name, message: e.message, source: "#{__FILE__}:#{__LINE__}")
false
end
......
......@@ -12,7 +12,7 @@ module EE
'name.formatted': :name,
'emails[type eq "work"].value': :email,
active: :active
}.with_indifferent_access
}.with_indifferent_access.freeze
COERCED_VALUES = {
'True' => true,
......
......@@ -125,7 +125,7 @@ describe API::Scim do
end
end
describe 'DELETE/scim/v2/groups/:group/Users/:id' do
describe 'DELETE /scim/v2/groups/:group/Users/:id' do
context 'existing user' do
before do
delete scim_api("scim/v2/groups/#{group.full_path}/Users/#{identity.extern_uid}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment