mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fixing issue in component test where AppController will cause failing tests due to bleed through.
This commit is contained in:
parent
a6efda66b8
commit
27ffd43214
1 changed files with 1 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue