Skip to content

Commit

Permalink
Replace deprecated calls in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Oct 4, 2019
1 parent e64b44b commit b91b6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Firewall/SwitchUserListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public function testSwitchUserWorksWithFalsyUsernames()
->method('checkPostAuth')->with($user);

$listener = new SwitchUserListener($this->tokenStorage, $this->userProvider, $this->userChecker, 'provider123', $this->accessDecisionManager);
$listener->handle($this->event);
$listener($this->event);

$this->assertSame([], $this->request->query->all());
$this->assertSame('', $this->request->server->get('QUERY_STRING'));
Expand Down

0 comments on commit b91b6d4

Please sign in to comment.