REPP: Show error when invalid ident format submitted

This commit is contained in:
Karl Erik Õunapuu 2020-11-16 16:26:59 +02:00
parent 3d0150076c
commit 03db562c77
No known key found for this signature in database
GPG key ID: C9DD647298A34764
4 changed files with 9 additions and 4 deletions

View file

@ -28,7 +28,7 @@ class ReppV1ContactsShowTest < ActionDispatch::IntegrationTest
assert_equal 1000, json[:code]
assert_equal 'Command completed successfully', json[:message]
assert_equal contact.code, json[:data][:code]
assert_equal contact.code, json[:data][:id]
end
def test_can_not_access_out_of_scope_contacts