Skip to content

Commit ebe78bb

Browse files
committed
minor symfony#14598 [Security] Fix tests in HHVM (dosten)
This PR was merged into the 2.3 branch. Discussion ---------- [Security] Fix tests in HHVM | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT This PR fixes the tests in the Security components when run in HHVM. The failing tests are related to sebastianbergmann/phpunit-mock-objects#207 Commits ------- 139bae7 Fix tests in HHVM
2 parents da58ad7 + 139bae7 commit ebe78bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function setUp()
3838
$this->session = $this->getMock('Symfony\Component\HttpFoundation\Session\SessionInterface');
3939
$this->request = $this->getMock('Symfony\Component\HttpFoundation\Request');
4040
$this->request->expects($this->any())->method('getSession')->will($this->returnValue($this->session));
41-
$this->exception = $this->getMock('Symfony\Component\Security\Core\Exception\AuthenticationException');
41+
$this->exception = $this->getMock('Symfony\Component\Security\Core\Exception\AuthenticationException', array('getMessage'));
4242
}
4343

4444
public function testForward()

0 commit comments

Comments
 (0)