X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5c9f1310b016d94becc2b0e02d080ec65eef5879..109e69efc186113380eccca35bfdb4bd83365db5:/test/integration/oauth_test.rb diff --git a/test/integration/oauth_test.rb b/test/integration/oauth_test.rb index 41c678632..c10699f2a 100644 --- a/test/integration/oauth_test.rb +++ b/test/integration/oauth_test.rb @@ -7,7 +7,7 @@ class OAuthTest < ActionDispatch::IntegrationTest include OAuth::Helper def setup - stub_signup_requests + stub_hostip_requests end def test_oauth10_web_app @@ -333,7 +333,7 @@ class OAuthTest < ActionDispatch::IntegrationTest assert_not_nil token.created_at assert_nil token.authorized_at assert_nil token.invalidated_at - assert_equal options[:oauth_callback], token.callback_url + assert_equal_allowing_nil options[:oauth_callback], token.callback_url assert_allowed token, client.permissions token