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.
2 parents 0a96d33 + 0ae7140 commit 2320f3dCopy full SHA for 2320f3d
src/Symfony/Component/Mime/Tests/AddressTest.php
@@ -13,6 +13,8 @@
13
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
{
@@ -32,7 +34,7 @@ public function testConstructor()
32
34
33
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