-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add forceDelete on email_verification failed
- Loading branch information
Showing
4 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...tions/domains/force_delete_bounce/base.rb → ...ctions/domains/force_delete_email/base.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -344,10 +344,10 @@ def test_schedules_force_delete_invalid_contact | |
Truemail.configure.default_validation_type = :regex | ||
|
||
contact = @domain.admin_contacts.first | ||
contact.update(email: 'some@[email protected]') | ||
contact.update_attribute(:email, 'some@[email protected]') | ||
contact.email_verification.verify | ||
|
||
assert contact.email_verification_failed? | ||
assert contact.invalid? | ||
|
||
@domain.reload | ||
|
||
|