8000 fixed tests · symfony/symfony@2763227 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2763227

Browse files
committed
fixed tests
1 parent d02addb commit 2763227

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Security/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testHandleWithContextHavingAToken()
3535
->method('authenticate')
3636
;
3737

38-
$listener = new AnonymousAuthenticationListener($context, 'TheKey', $authenticationManager);
38+
$listener = new AnonymousAuthenticationListener($context, 'TheKey', null, $authenticationManager);
3939
$listener->handle($this->getMock('Symfony\Component\HttpKernel\Event\GetResponseEvent', array(), array(), '', false));
4040
}
4141

@@ -67,7 +67,7 @@ public function testHandleWithContextHavingNoToken()
6767
->with($anonymousToken)
6868
;
6969

70-
$listener = new AnonymousAuthenticationListener($context, 'TheKey', $authenticationManager);
70+
$listener = new AnonymousAuthenticationListener($context, 'TheKey', null, $authenticationManager);
7171
$listener->handle($this->getMock('Symfony\Component\HttpKernel\Event\GetResponseEvent', array(), array(), '', false));
7272
}
7373

@@ -86,7 +86,7 @@ public function testHandledEventIsLogged()
8686

8787
$authenticationManager = $this->getMock('Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface');
8888

89-
$listener = new AnonymousAuthenticationListener($context, 'TheKey', $authenticationManager, $logger);
89+
$listener = new AnonymousAuthenticationListener($context, 'TheKey', $logger, $authenticationManager);
9090
$listener->handle($this->getMock('Symfony\Component\HttpKernel\Event\GetResponseEvent', array(), array(), '', false));
9191
}
9292
}

0 commit comments

Comments
 (0)
0