Skip to content
Browse files

Removing unecessary Mock object creation.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7949 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
1 parent 943bb53 commit 60e3c6caa4837cbfa299854653808b245027e96f @markstory markstory committed Dec 22, 2008
Showing with 0 additions and 1 deletion.
  1. +0 −1 cake/tests/cases/libs/view/view.test.php
View
1 cake/tests/cases/libs/view/view.test.php
@@ -464,7 +464,6 @@ function testLoadHelpers() {
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');

0 comments on commit 60e3c6c

Please sign in to comment.
Something went wrong with that request. Please try again.