From 96dd4a5c80f129957c90c727bbeb5d06850617dd Mon Sep 17 00:00:00 2001 From: Juan Basso Date: Sun, 24 Apr 2011 12:55:41 -0400 Subject: [PATCH] Fixed the tests in ThemeView and View that was affected by email changes. --- lib/Cake/tests/Case/View/ThemeViewTest.php | 4 ++-- lib/Cake/tests/Case/View/ViewTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Cake/tests/Case/View/ThemeViewTest.php b/lib/Cake/tests/Case/View/ThemeViewTest.php index 455f9ae86..750665d67 100644 --- a/lib/Cake/tests/Case/View/ThemeViewTest.php +++ b/lib/Cake/tests/Case/View/ThemeViewTest.php @@ -195,8 +195,8 @@ class ThemeViewTest extends CakeTestCase { $result = $ThemeView->getLayoutFileName(); $this->assertEqual($result, $expected); - $ThemeView->layoutPath = 'email' . DS . 'html'; - $expected = LIBS . 'tests' . DS . 'test_app' . DS . 'View' . DS . 'layouts' . DS . 'email' . DS . 'html' . DS . 'default.ctp'; + $ThemeView->layoutPath = 'emails' . DS . 'html'; + $expected = LIBS . 'tests' . DS . 'test_app' . DS . 'View' . DS . 'layouts' . DS . 'emails' . DS . 'html' . DS . 'default.ctp'; $result = $ThemeView->getLayoutFileName(); $this->assertEqual($result, $expected); } diff --git a/lib/Cake/tests/Case/View/ViewTest.php b/lib/Cake/tests/Case/View/ViewTest.php index 07760a003..51806d1f4 100644 --- a/lib/Cake/tests/Case/View/ViewTest.php +++ b/lib/Cake/tests/Case/View/ViewTest.php @@ -331,8 +331,8 @@ class ViewTest extends CakeTestCase { $result = $View->getLayoutFileName(); $this->assertEqual($result, $expected); - $View->layoutPath = 'email' . DS . 'html'; - $expected = LIBS . 'tests' . DS . 'test_app' . DS . 'View' . DS . 'layouts' . DS . 'email' . DS . 'html' . DS . 'default.ctp'; + $View->layoutPath = 'emails' . DS . 'html'; + $expected = LIBS . 'tests' . DS . 'test_app' . DS . 'View' . DS . 'layouts' . DS . 'emails' . DS . 'html' . DS . 'default.ctp'; $result = $View->getLayoutFileName(); $this->assertEqual($result, $expected);