Skip to content

Commit

Permalink
Fixing issue in component test where AppController will cause failing…
Browse files Browse the repository at this point in the history
… tests due to bleed through.
  • Loading branch information
markstory committed Feb 28, 2010
1 parent a6efda6 commit 27ffd43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/tests/cases/libs/controller/component.test.php
Expand Up @@ -426,6 +426,7 @@ function testComponentStartup() {
function testTriggerCallback() {
$Controller =& new ComponentTestController();
$Controller->components = array('ComponentMock');
$Controller->uses = null;
$Controller->constructClasses();

$Controller->ComponentMock->expectOnce('beforeRender');
Expand Down

0 comments on commit 27ffd43

Please sign in to comment.