From fd151fded213ca607de778bd1c789a666f14976e Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Sun, 26 May 2013 18:45:33 +0100 Subject: [PATCH] [Security] Fixed the check if an interface exists. --- .../Authentication/DefaultAuthenticationFailureHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }