We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad6a780 commit ac88a64Copy full SHA for ac88a64
src/Symfony/Component/Security/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
@@ -46,6 +46,7 @@ protected function setUp(): void
46
47
$this->session = $this->createMock(SessionInterface::class);
48
$this->request = $this->createMock(Request::class);
49
+ $this->request->attributes = new ParameterBag(['_stateless' => false]);
50
$this->request->expects($this->any())->method('getSession')->willReturn($this->session);
51
$this->exception = $this->getMockBuilder(AuthenticationException::class)->onlyMethods(['getMessage'])->getMock();
52
}
0 commit comments