Skip to content

Commit

Permalink
Fixing flaky spec for sign in controller around duration log
Browse files Browse the repository at this point in the history
  • Loading branch information
bosawt committed Nov 18, 2024
1 parent d4bd565 commit 4ce18c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/controllers/v0/sign_in_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,11 @@

before do
allow(SecureRandom).to receive(:uuid).and_return(client_code)
Timecop.freeze
end

after do
Timecop.return
end

shared_context 'dslogon successful callback' do
Expand Down

0 comments on commit 4ce18c7

Please sign in to comment.