diff --git a/addons/Spock/tests/CommanderTest.php b/addons/Spock/tests/CommanderTest.php index f392af3..420b772 100644 --- a/addons/Spock/tests/CommanderTest.php +++ b/addons/Spock/tests/CommanderTest.php @@ -17,7 +17,8 @@ public function setUp() $this->commander = (new Commander($this->log)) ->config(['environments' => ['production']]) - ->environment('production'); + ->environment('production') + ->event(new ExampleEvent); } public function tearDown()