File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ def test_fetch_basic_oauth_encoded
248248
249249 auth_header = conn . payload [ "Authorization" ]
250250 assert_equal "Basic #{ base64_encode64 ( "{DEScede}pass:x-oauth-basic" ) } " . strip , auth_header
251- assert_includes @ui . output , "GET https://REDACTED:x-oauth-basic @example.rubygems/specs.#{ Gem . marshal_version } "
251+ assert_includes @ui . output , "GET https://REDACTED@example.rubygems/specs.#{ Gem . marshal_version } "
252252 end
253253
254254 def test_fetch_head
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def test_redacted_with_token
2121 end
2222
2323 def test_redacted_with_user_x_oauth_basic
24- assert_equal "https://REDACTED:x-oauth-basic @example.com" , Gem ::Uri . new ( "https://token:x-oauth-basic@example.com" ) . redacted . to_s
24+ assert_equal "https://REDACTED@example.com" , Gem ::Uri . new ( "https://token:x-oauth-basic@example.com" ) . redacted . to_s
2525 end
2626
2727 def test_redacted_without_credential
You can’t perform that action at this time.
0 commit comments