Skip to content

Commit

Permalink
Merge pull request #2287 from alphagov/fix-two-step-verification-factory
Browse files Browse the repository at this point in the history
Fix two_step_verification_exemption factory expiry date
  • Loading branch information
floehopper authored Jul 31, 2023
2 parents 6097a1c + 3e4fffa commit 52dba38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/factories/two_step_verification_exemption.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FactoryBot.define do
factory :two_step_verification_exemption do
reason { "a very good reason" }
expiry_day { Time.zone.today.day + 1 }
expiry_month { Time.zone.today.month }
expiry_year { Time.zone.today.year }
expiry_day { Time.zone.tomorrow.day }
expiry_month { Time.zone.tomorrow.month }
expiry_year { Time.zone.tomorrow.year }
end
end

0 comments on commit 52dba38

Please sign in to comment.