Updated test method name and description

This commit is contained in:
Kim Biesbjerg 2016-07-14 04:57:25 +02:00
parent c77b628841
commit 38cad279d1

View file

@ -880,11 +880,11 @@ class ExceptionRendererTest extends CakeTestCase {
}
/**
* Tests that exception renderer dispatches Dispatcher.afterDispatch event on error response
* Test that rendering exceptions triggers shutdown events.
*
* @return void
*/
public function testAfterDispatchEventOnErrorResponse() {
public function testRenderShutdownEvents() {
$fired = array();
$listener = function ($event) use (&$fired) {
$fired[] = $event->name();