Skip to content

Commit

Permalink
update error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail1432 authored and soyuka committed Sep 13, 2019
1 parent a06ed00 commit 627315e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Annotation/ApiFilterTest.php
Expand Up @@ -34,7 +34,7 @@ public function testInvalidConstructor()
public function testInvalidFilter()
{
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('The filter class "ApiPlatform\\Core\\Tests\\Fixtures\\TestBundle\\Entity\\Dummy" does not implement "ApiPlatform\\Core\\Api\\FilterInterface".');
$this->expectExceptionMessage('The filter class "ApiPlatform\\Core\\Tests\\Fixtures\\TestBundle\\Entity\\Dummy" does not implement "ApiPlatform\\Core\\Api\\FilterInterface". Did you forget a use statement ?');

new ApiFilter(['value' => Dummy::class]);
}
Expand Down

0 comments on commit 627315e

Please sign in to comment.