From cca67535042513dce840b0fa273c33b7b82e253e Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 23 May 2017 09:56:49 -0500 Subject: [PATCH] Even the test app deserves some cs respect --- tests/test_app/TestApp/Controller/PostsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_app/TestApp/Controller/PostsController.php b/tests/test_app/TestApp/Controller/PostsController.php index bff8c71c6e0..3bd1ea9a3f2 100644 --- a/tests/test_app/TestApp/Controller/PostsController.php +++ b/tests/test_app/TestApp/Controller/PostsController.php @@ -70,6 +70,7 @@ public function index($layout = 'default') public function flashNoRender() { $this->Flash->error('An error message'); + return $this->redirect(['action' => 'index']); }