mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
Updated tara callback endpoint
This commit is contained in:
parent
87b503ec79
commit
54b96b05e8
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class ReppV1RegistrarAuthTaraCallbackTest < ActionDispatch::IntegrationTest
|
|||
post '/repp/v1/registrar/auth/tara_callback', headers: @auth_headers, params: request_body
|
||||
json = JSON.parse(response.body, symbolize_names: true)
|
||||
|
||||
assert_response :bad_request
|
||||
assert_response :unauthorized
|
||||
assert_equal 'No such user', json[:message]
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue