Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Oct 31, 2023
1 parent 8727ba0 commit 803d861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Mapping/Loader/AttributeLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function testLoadGroupsOnClass()
public function testLoadWithInvalidAttribute()
{
$this->expectException(MappingException::class);
$this->expectExceptionMessage('Could not instantiate attribute "Symfony\Component\Serializer\Annotation\Groups" on "Symfony\Component\Serializer\Tests\Fixtures\Attributes\BadAttributeDummy::myMethod()".');
$this->expectExceptionMessage('Could not instantiate attribute "Symfony\Component\Serializer\Attribute\Groups" on "Symfony\Component\Serializer\Tests\Fixtures\Attributes\BadAttributeDummy::myMethod()".');

$classMetadata = new ClassMetadata(BadAttributeDummy::class);

Expand Down

0 comments on commit 803d861

Please sign in to comment.