Skip to content

Commit

Permalink
Fix test on PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Dec 16, 2017
1 parent 35a2436 commit 528e7dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Event/EventManagerTest.php
Expand Up @@ -819,15 +819,15 @@ public function testDebugInfo()
);

$eventManager->setEventList(new EventList());
$eventManager->addEventToList(new Event('Foo'));
$eventManager->addEventToList(new Event('Foo', $this));
$this->assertSame(
[
'_listeners' => [],
'_isGlobal' => false,
'_trackEvents' => true,
'_generalManager' => '(object) EventManager',
'_dispatchedEvents' => [
'Foo with subject Cake\Event\EventManager'
'Foo with subject Cake\Test\TestCase\Event\EventManagerTest'
],
],
$eventManager->__debugInfo()
Expand Down

0 comments on commit 528e7dd

Please sign in to comment.