Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Fix bad parameter reference in scry:behat.
Browse files Browse the repository at this point in the history
  • Loading branch information
dersam committed Nov 13, 2015
1 parent 33a2199 commit ae07f21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/LinusShops/Prophet/Commands/Scry/Behat.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,12 @@ public function doTest(
$factory = new ApplicationFactory();
$app = $factory->createApplication();
$app->setAutoExit(false);
Events::dispatch(Events::PROPHET_PREMODULE, array($module, 'behat'));
$options = new Events\Options(array($module, 'behat'));
Events::dispatch(Events::PROPHET_PREMODULE, $options);

$app->run($input);

Events::dispatch(Events::PROPHET_POSTMODULE, array($module, 'behat'));
Events::dispatch(Events::PROPHET_POSTMODULE, $options);
//Phantom doesn't seem to respond to normal signalling.
//Known issue when using GhostDriver- just kill it.
$this->killPhantom();
Expand Down

0 comments on commit ae07f21

Please sign in to comment.