Permalink
Browse files

Fixing issue in component test where AppController will cause failing…

… tests due to bleed through.
  • Loading branch information...
1 parent a6efda6 commit 27ffd432144c492e0b26a2a688d5a884979a874b @markstory markstory committed Feb 28, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 cake/tests/cases/libs/controller/component.test.php
@@ -426,6 +426,7 @@ function testComponentStartup() {
function testTriggerCallback() {
$Controller =& new ComponentTestController();
$Controller->components = array('ComponentMock');
+ $Controller->uses = null;
$Controller->constructClasses();
$Controller->ComponentMock->expectOnce('beforeRender');

0 comments on commit 27ffd43

Please sign in to comment.