diff --git a/lib/Cake/Test/Case/View/ThemeViewTest.php b/lib/Cake/Test/Case/View/ThemeViewTest.php index 6fbaec7dd..ad5127f3a 100644 --- a/lib/Cake/Test/Case/View/ThemeViewTest.php +++ b/lib/Cake/Test/Case/View/ThemeViewTest.php @@ -197,8 +197,8 @@ class ThemeViewTest extends CakeTestCase { $result = $ThemeView->getLayoutFileName(); $this->assertEqual($expected, $result); - $ThemeView->layoutPath = 'emails' . DS . 'html'; - $expected = CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS . 'Layouts' . DS . 'emails' . DS . 'html' . DS . 'default.ctp'; + $ThemeView->layoutPath = 'Emails' . DS . 'html'; + $expected = CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS . 'Layouts' . DS . 'Emails' . DS . 'html' . DS . 'default.ctp'; $result = $ThemeView->getLayoutFileName(); $this->assertEqual($expected, $result); }