Skip to content

Commit

Permalink
Nope, that change to add ->react() still needs better tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmann committed Jan 17, 2019
1 parent 8283a27 commit 3382b8b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion php/WP_Mock.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ public static function expectHookAdded( $type, $action, $callback, $priority = 1
$responder = self::onHookAdded( $action, $type )
->with( $callback, $priority, $args );
$responder->perform( array( $intercept, 'intercepted' ) );
$responder->react();
}

/**
Expand Down

0 comments on commit 3382b8b

Please sign in to comment.