File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ public function testItReturnsNoOrphanedEventsWhenCreated()
182
182
{
183
183
$ tdispatcher = new TraceableEventDispatcher (new EventDispatcher (), new Stopwatch ());
184
184
$ events = $ tdispatcher ->getOrphanedEvents ();
185
- $ this ->assertEmpty ( $ events );
185
+ $ this ->assertSame ([], $ events );
186
186
}
187
187
188
188
public function testItReturnsOrphanedEventsAfterDispatch ()
@@ -200,7 +200,7 @@ public function testItDoesNotReturnHandledEvents()
200
200
$ tdispatcher ->addListener ('foo ' , function () {});
201
201
$ tdispatcher ->dispatch (new Event (), 'foo ' );
202
202
$ events = $ tdispatcher ->getOrphanedEvents ();
203
- $ this ->assertEmpty ( $ events );
203
+ $ this ->assertSame ([], $ events );
204
204
}
205
205
206
206
public function testLogger ()
You can’t perform that action at this time.
0 commit comments