Skip to content

Commit

Permalink
Merge pull request #101 from smartemailing/removed-consistance
Browse files Browse the repository at this point in the history
Fixed test
  • Loading branch information
slischka committed May 25, 2021
2 parents 9fa524d + 6422e43 commit 0399cb4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/EmailaddressTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ final class EmailaddressTest extends TestCase
];

foreach ($invalidValues as $invalidValue) {
echo 'Testing: ' . $invalidValue . \PHP_EOL;
Assert::throws(
static function () use ($invalidValue): void {
Emailaddress::from($invalidValue);
Expand All @@ -42,7 +41,6 @@ final class EmailaddressTest extends TestCase
}

foreach ($invalidValues as $invalidValue) {
echo 'Testing: ' . $invalidValue . \PHP_EOL;
Assert::throws(
static function () use ($invalidValue): void {
Emailaddress::extract(['email' => $invalidValue], 'email');
Expand All @@ -62,7 +60,6 @@ final class EmailaddressTest extends TestCase
];

foreach ($validValues as $validValue) {
echo 'Testing: ' . $validValue . \PHP_EOL;
$emailaddress = Emailaddress::from($validValue);
Assert::type(Emailaddress::class, $emailaddress);
}
Expand Down

0 comments on commit 0399cb4

Please sign in to comment.