Browse Source

Fix test for error message...

Mark Story 10 years ago
parent
commit
023cf73ec7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Http/ActionDispatcherTest.php

+ 1 - 1
tests/TestCase/Http/ActionDispatcherTest.php

@@ -195,7 +195,7 @@ class ActionDispatcherTest extends TestCase
      * test invalid response from dispatch process.
      *
      * @expectedException \LogicException
-     * @expectedExceptionMessage Controller actions can only Cake\Network\Response instances
+     * @expectedExceptionMessage Controller actions can only return Cake\Network\Response or null
      * @return void
      */
     public function testDispatchInvalidResponse()