-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DNS record check now passes if email address has no top-level domain (#…
…355)
- Loading branch information
1 parent
db4c314
commit 3a85486
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ public function validEmailsProvider() | |
return [ | ||
// dot-atom | ||
['[email protected]'], | ||
['[email protected]'], | ||
['[email protected]'], | ||
['[email protected]'], | ||
['user+mailbox/[email protected]'], | ||
|
@@ -149,4 +150,4 @@ public function getRecords(string $host, int $type): DNSRecords | |
$validation->isValid('[email protected]', new EmailLexer()); | ||
$this->assertEquals($expectedError, $validation->getError()); | ||
} | ||
} | ||
} |