summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Saint Esteben <diego@saintesteben.me>2015-05-11 23:26:17 -0300
committerDiego Saint Esteben <diego@saintesteben.me>2015-05-11 23:26:17 -0300
commitffa3efde95d20fb8840f47c26de3bbc6425e1277 (patch)
tree74e74610a1deba743ecd855d34f6af4dadd02908
parent4bc570e4ecad43b827f5c8852a4a4616ede89e4e (diff)
downloadsymfony-security-ffa3efde95d20fb8840f47c26de3bbc6425e1277.zip
symfony-security-ffa3efde95d20fb8840f47c26de3bbc6425e1277.tar.gz
symfony-security-ffa3efde95d20fb8840f47c26de3bbc6425e1277.tar.bz2
Fix tests in HHVM
-rw-r--r--Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php b/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php
index accc45d..38072d6 100644
--- a/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php
+++ b/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php
@@ -38,7 +38,7 @@ class DefaultAuthenticationFailureHandlerTest extends \PHPUnit_Framework_TestCas
$this->session = $this->getMock('Symfony\Component\HttpFoundation\Session\SessionInterface');
$this->request = $this->getMock('Symfony\Component\HttpFoundation\Request');
$this->request->expects($this->any())->method('getSession')->will($this->returnValue($this->session));
- $this->exception = $this->getMock('Symfony\Component\Security\Core\Exception\AuthenticationException');
+ $this->exception = $this->getMock('Symfony\Component\Security\Core\Exception\AuthenticationException', array('getMessage'));
}
public function testForward()