Skip to content
Permalink
Browse files

Update EventHandlerTest.php

[skip ci]
  • Loading branch information...
mwjames committed Jan 27, 2019
1 parent 5bd361a commit 0ed4bbf75e7ee9989d2ac84437d3733b52885eb8
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/phpunit/Unit/EventHandlerTest.php
@@ -73,7 +73,7 @@ public function testCanConstructDispatchContext() {
public function testAddCallbackListenerForAdhocRegistration() {
$eventDispatcher = $this->getMockBuilder( '\Onoi\EventDispatcher\EventDispatcher' )
$eventDispatcher = $this->getMockBuilder( '\Onoi\EventDispatcher\Dispatcher\GenericEventDispatcher' )
->disableOriginalConstructor()
->getMock();
@@ -84,8 +84,7 @@ public function testAddCallbackListenerForAdhocRegistration() {
$this->anything() );
$instance = new EventHandler( $eventDispatcher );
$instance->addCallbackListener( 'foo', function (){
} );
$instance->addCallbackListener( 'foo', function (){} );
}
}

0 comments on commit 0ed4bbf

Please sign in to comment.
You can’t perform that action at this time.