Fixing issue in component test where AppController will cause failing tests due to bleed through.

This commit is contained in:
Mark Story 2010-02-28 12:48:34 -05:00
parent a6efda66b8
commit 27ffd43214

View file

@ -426,6 +426,7 @@ class ComponentTest extends CakeTestCase {
function testTriggerCallback() {
$Controller =& new ComponentTestController();
$Controller->components = array('ComponentMock');
$Controller->uses = null;
$Controller->constructClasses();
$Controller->ComponentMock->expectOnce('beforeRender');