resolve structure conflict

This commit is contained in:
olegphenomenon 2021-10-28 09:49:15 +03:00
parent f6e46b8fe6
commit d56c61bf84
7 changed files with 106 additions and 10 deletions

View file

@ -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