mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Fix tests
This commit is contained in:
parent
c93a35ef52
commit
d5e6ba1e69
2 changed files with 4 additions and 3 deletions
|
@ -426,7 +426,8 @@ class ForceDeleteTest < ActionMailer::TestCase
|
|||
old_email = contact_first.email
|
||||
contact_first.update(
|
||||
email: email_1,
|
||||
email_history: old_email)
|
||||
email_history: old_email
|
||||
)
|
||||
|
||||
ValidationEvent::VALID_EVENTS_COUNT_THRESHOLD.times do
|
||||
contact_first.verify_email
|
||||
|
@ -446,7 +447,7 @@ class ForceDeleteTest < ActionMailer::TestCase
|
|||
|
||||
domain.reload
|
||||
contact_first.update(
|
||||
email: 'aaa@bbb.com',
|
||||
email: old_email,
|
||||
email_history: email_1
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue