diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 34b450e..5ae99c8 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,23 +1,23 @@ - +> ./tests/ - - - ./src/EmailChecker/ - - + + + ./src/EmailChecker + + diff --git a/tests/EmailChecker/Tests/UtilitiesTest.php b/tests/EmailChecker/Tests/UtilitiesTest.php index cf98b8b..be6b017 100644 --- a/tests/EmailChecker/Tests/UtilitiesTest.php +++ b/tests/EmailChecker/Tests/UtilitiesTest.php @@ -35,6 +35,7 @@ public function testParseInvalidEmail(string $email): void Utilities::parseEmailAddress($email); self::fail(sprintf('"%s" should not be a valid email', $email)); } catch (InvalidEmailException $e) { + $this->expectNotToPerformAssertions(); return; } }