Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  [Mime] Fix tests
  • Loading branch information
nicolas-grekas committed Aug 13, 2024
2 parents 78cc41e + a02711d commit ab2adc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/AddressTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

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 @@ -32,7 +34,7 @@ public function testConstructor()

public function testConstructorWithInvalidAddress()
{
$this->expectException(\InvalidArgumentException::class);
$this->expectException(RfcComplianceException::class);
new Address('fab [email protected]');
}

Expand Down

0 comments on commit ab2adc7

Please sign in to comment.