mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +02:00
resolve structure conflict
This commit is contained in:
parent
f6e46b8fe6
commit
d56c61bf84
7 changed files with 106 additions and 10 deletions
|
@ -10,7 +10,7 @@ class ReppV1AccreditationInfoTest < ActionDispatch::IntegrationTest
|
|||
end
|
||||
|
||||
def test_valid_login
|
||||
get '/repp/v1/registrar/accreditation_info', headers: @auth_headers
|
||||
get '/repp/v1/registrar/accreditation/get_info', headers: @auth_headers
|
||||
json = JSON.parse(response.body, symbolize_names: true)
|
||||
|
||||
assert_response :ok
|
||||
|
@ -24,7 +24,7 @@ class ReppV1AccreditationInfoTest < ActionDispatch::IntegrationTest
|
|||
|
||||
auth_headers = { 'Authorization' => token }
|
||||
|
||||
get '/repp/v1/registrar/accreditation_info', headers: auth_headers
|
||||
get '/repp/v1/registrar/accreditation/get_info', headers: auth_headers
|
||||
json = JSON.parse(response.body, symbolize_names: true)
|
||||
|
||||
assert_response :unauthorized
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue