8000 [hackday] Added tests trying to reproduce bug #11663, throwing AccessDeniedHttpException in kernel request listener by adlpz · Pull Request #12709 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[hackday] Added tests trying to reproduce bug #11663, throwing AccessDeniedHttpException in kernel request listener #12709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Code style
  • Loading branch information
adlpz committed Nov 29, 2014
commit a71b81a7a0520f0091b32d377e111165da04f0f1
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function testHandleWhenAnAccessDeniedHttpExceptionIsThrownByAListener()
$event->setResponse(new Response('foo', $event->getException()->getStatusCode()));
});

$kernel = new HttpKernel($dispatcher, $this->getResolver(function() { return new Response(); }));
$kernel = new HttpKernel($dispatcher, $this->getResolver(function () { return new Response(); }));
$response = $kernel->handle(new Request());

$this->assertEquals('foo', $response->getContent());
Expand Down
0