diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-24 06:13:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-24 06:13:58 +0300 |
commit | bec5b7b1b68ddc670a1566a36037402c3c37e0f3 (patch) | |
tree | 81dc077005b1a8eec9b054a330ac40dbda7b18f4 /spec/factories | |
parent | dc6ae9609fc1209075742bc1741c496de4e10a3b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/users/phone_number_validations.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/users/phone_number_validations.rb b/spec/factories/users/phone_number_validations.rb index b7e6e819127..f4e373dd9bd 100644 --- a/spec/factories/users/phone_number_validations.rb +++ b/spec/factories/users/phone_number_validations.rb @@ -7,5 +7,9 @@ FactoryBot.define do international_dial_code { 1 } phone_number { '555' } telesign_reference_xid { FFaker::Guid.guid } + + trait(:validated) do + validated_at { Time.zone.now } + end end end |