Skip to content

Commit

Permalink
Fix typo in HttpAssertions::assertValidationErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetik committed Oct 2, 2018
1 parent 1ebf438 commit 86c3c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/HttpAssertions.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static function assertStatusCode(int $expectedStatusCode, Client $client)
public static function assertValidationErrors(array $expected, ContainerInterface $container): void
{
if (!$container->has('liip_functional_test.validator')) {
trigger_error(sprintf('Method %s() can not be used as the validation component of the Symfony framework is disabled.', __METHOD__, __CLASS__), E_USER_WARNING);
trigger_error(sprintf('Method %s::%s() can not be used as the validation component of the Symfony framework is disabled.', __CLASS__, __METHOD__), E_USER_WARNING);
}

self::assertThat(
Expand Down

0 comments on commit 86c3c85

Please sign in to comment.