We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b8e95 commit 0ae7140Copy full SHA for 0ae7140
src/Symfony/Component/Mime/Tests/AddressTest.php
@@ -14,6 +14,7 @@
14
use PHPUnit\Framework\TestCase;
15
use Symfony\Component\Mime\Address;
16
use Symfony\Component\Mime\Exception\InvalidArgumentException;
17
+use Symfony\Component\Mime\Exception\RfcComplianceException;
18
19
class AddressTest extends TestCase
20
{
@@ -33,7 +34,7 @@ public function testConstructor()
33
34
35
public function testConstructorWithInvalidAddress()
36
- $this->expectException(\InvalidArgumentException::class);
37
+ $this->expectException(RfcComplianceException::class);
38
new Address('fab pot@symfony.com');
39
}
40
0 commit comments