Skip to content

Commit 674aa82

Browse files
committed
minor #539 fix security logout fixture (jrushlow)
This PR was squashed before being merged into the 1.0-dev branch (closes #539). Discussion ---------- fix security logout fixture #474 changed implemented \LogicException instead of \Exception for make:auth. Fixture still produced \Exception for assertion. Commits ------- e5cb483 fix security logout fixture
2 parents 8b66111 + e5cb483 commit 674aa82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Security/fixtures/expected/SecurityController_logout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ class SecurityController extends AbstractController
1212
*/
1313
public function logout()
1414
{
15-
throw new \Exception('This method can be blank - it will be intercepted by the logout key on your firewall');
15+
throw new \LogicException('This method can be blank - it will be intercepted by the logout key on your firewall.');
1616
}
1717
}

0 commit comments

Comments
 (0)