From 60e3c6caa4837cbfa299854653808b245027e96f Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 22 Dec 2008 04:31:21 +0000 Subject: [PATCH] Removing unecessary Mock object creation. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7949 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/view/view.test.php | 1 - 1 file changed, 1 deletion(-) diff --git a/cake/tests/cases/libs/view/view.test.php b/cake/tests/cases/libs/view/view.test.php index 1a9bf0c70..eaf07f564 100644 --- a/cake/tests/cases/libs/view/view.test.php +++ b/cake/tests/cases/libs/view/view.test.php @@ -464,7 +464,6 @@ class ViewTest extends CakeTestCase { function testHelperCallbackTriggering() { $this->PostsController->helpers = array('Html', 'CallbackMock'); $View =& new TestView($this->PostsController); - $Critic =& new CallbackMockHelper(); $loaded = array(); $View->loaded = $View->loadHelpers($loaded, $this->PostsController->helpers); $View->loaded['CallbackMock']->expectOnce('beforeRender');