From 54b96b05e8c436a1a44c1627c6d668c1f0d79136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergei=20Ts=C3=B5ganov?= Date: Tue, 21 Jun 2022 12:47:07 +0300 Subject: [PATCH] Updated tara callback endpoint --- test/integration/repp/v1/registrar/auth/tara_callback_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/repp/v1/registrar/auth/tara_callback_test.rb b/test/integration/repp/v1/registrar/auth/tara_callback_test.rb index 56d881c87..e39e24078 100644 --- a/test/integration/repp/v1/registrar/auth/tara_callback_test.rb +++ b/test/integration/repp/v1/registrar/auth/tara_callback_test.rb @@ -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 \ No newline at end of file