mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
Fix email validation in test
This commit is contained in:
parent
70a6a44525
commit
763c91a9fe
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ namespace :verify_email do
|
|||
desc 'Starts verifying email jobs with optional check level and spam protection'
|
||||
task check_all: :environment do
|
||||
SPAM_PROTECT_TIMEOUT = 30.seconds
|
||||
|
||||
options = {
|
||||
domain_name: nil,
|
||||
check_level: 'regex',
|
||||
|
|
|
@ -814,7 +814,7 @@ class EppDomainUpdateBaseTest < EppTestCase
|
|||
def test_makes_update_if_was_forcedelete
|
||||
contact = @domain.contacts.first
|
||||
contact.update_attribute(:email, '`@outlook.test')
|
||||
contact.email_verification.verify
|
||||
contact.verify_email
|
||||
assert contact.email_verification_failed?
|
||||
@domain.reload
|
||||
assert @domain.force_delete_scheduled?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue