case fixes

This commit is contained in:
AD7six 2011-05-17 00:23:58 +02:00
parent e7c8dd1616
commit 6695994cc2

View file

@ -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);
}