Fix tests in HHVM
This commit is contained in:
parent
5c996c4e9b
commit
139bae7047
@ -38,7 +38,7 @@ class DefaultAuthenticationFailureHandlerTest extends \PHPUnit_Framework_TestCas
|
|||||||
$this->session = $this->getMock('Symfony\Component\HttpFoundation\Session\SessionInterface');
|
$this->session = $this->getMock('Symfony\Component\HttpFoundation\Session\SessionInterface');
|
||||||
$this->request = $this->getMock('Symfony\Component\HttpFoundation\Request');
|
$this->request = $this->getMock('Symfony\Component\HttpFoundation\Request');
|
||||||
$this->request->expects($this->any())->method('getSession')->will($this->returnValue($this->session));
|
$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()
|
public function testForward()
|
||||||
|
Reference in New Issue
Block a user