diff --git a/src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php b/src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php index 485b82864a..c51893f079 100644 --- a/src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php +++ b/src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php @@ -39,7 +39,7 @@ class DefaultAuthenticationFailureHandlerTest extends \PHPUnit_Framework_TestCas $this->markTestSkipped('The "HttpFoundation" component is not available'); } - if (!class_exists('Psr\Log\LoggerInterface')) { + if (!interface_exists('Psr\Log\LoggerInterface')) { $this->markTestSkipped('The "LoggerInterface" is not available'); }