From ab0f21f93921d372ac94cf01a1a2bc91dbab13db Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 14 Jul 2010 23:16:05 -0400 Subject: [PATCH] Fixing tests failing in ThemeView test as they were not expecting exceptions that should be expected. --- cake/tests/cases/libs/view/theme.test.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cake/tests/cases/libs/view/theme.test.php b/cake/tests/cases/libs/view/theme.test.php index 8f616a984..297976b7d 100644 --- a/cake/tests/cases/libs/view/theme.test.php +++ b/cake/tests/cases/libs/view/theme.test.php @@ -242,6 +242,7 @@ class ThemeViewTest extends CakeTestCase { /** * testMissingView method * + * @expectedException MissingViewException * @access public * @return void */ @@ -264,6 +265,8 @@ class ThemeViewTest extends CakeTestCase { /** * testMissingLayout method + * + * @expectedException MissingLayoutException * @access public * @return void */