Skip to content

Commit 9124df5

Browse files
fbacallCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 672e944 commit 9124df5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/controllers/orcid_controller_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ class OrcidControllerTest < ActionController::TestCase
142142
VCR.use_cassette('orcid/get_token_unauth_orcid') do
143143
assert_raises(ActionController::RoutingError) do
144144
get :callback, params: { code: '123xyz' }
145-
profile = user.profile.reload
146-
refute profile.orcid_authenticated?
147145
end
146+
profile = user.profile.reload
147+
refute profile.orcid_authenticated?
148148
end
149149
end
150150
end

0 commit comments

Comments
 (0)