Browse Source

Fix expected exception message in test.

ADmad 11 years ago
parent
commit
4d9a607cff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/View/Widget/WidgetRegistryTest.php

+ 1 - 1
tests/TestCase/View/Widget/WidgetRegistryTest.php

@@ -114,7 +114,7 @@ class WidgetRegistryTestCase extends TestCase {
  * Test adding an instance of an invalid type.
  *
  * @expectedException \RuntimeException
- * @expectedExceptionMessage Input objects must implement Cake\View\Widget\WidgetInterface
+ * @expectedExceptionMessage Widget objects must implement Cake\View\Widget\WidgetInterface
  * @return void
  */
 	public function testAddInvalidType() {