From 93b80042f8fc24fcc550a9db9600a5bc42d30a80 Mon Sep 17 00:00:00 2001 From: predominant Date: Sat, 28 Aug 2010 15:01:43 +1000 Subject: [PATCH] Fix failing scaffold tests. --- cake/tests/cases/libs/controller/scaffold.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/controller/scaffold.test.php b/cake/tests/cases/libs/controller/scaffold.test.php index 100ed67b8ba..1d08a91de93 100644 --- a/cake/tests/cases/libs/controller/scaffold.test.php +++ b/cake/tests/cases/libs/controller/scaffold.test.php @@ -789,7 +789,7 @@ function testScaffoldChangingViewProperty() { $this->Controller->theme = 'test_theme'; $this->Controller->view = 'Theme'; $this->Controller->constructClasses(); - $Scaffold =& new TestScaffoldMock($this->Controller, array()); + $Scaffold =& new TestScaffoldMock($this->Controller, new CakeRequest()); $this->assertEqual($this->Controller->view, 'Scaffold'); }