Skip to content

Commit

Permalink
[Mime] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Aug 13, 2024
1 parent eb930b8 commit a02711d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/AddressTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use PHPUnit\Framework\TestCase;
use Symfony\Component\Mime\Address;
use Symfony\Component\Mime\Exception\InvalidArgumentException;
use Symfony\Component\Mime\Exception\RfcComplianceException;

class AddressTest extends TestCase
{
Expand All @@ -33,7 +34,7 @@ public function testConstructor()

public function testConstructorWithInvalidAddress()
{
$this->expectException(\InvalidArgumentException::class);
$this->expectException(RfcComplianceException::class);
new Address('fab pot@symfony.com');
}

Expand Down

0 comments on commit a02711d

Please sign in to comment.