fixed event subscriber
This commit is contained in:
@@ -62,7 +62,7 @@ class MinkAwareInitializer implements InitializerInterface, EventSubscriberInter
|
|||||||
*
|
*
|
||||||
* @return array The event names to listen to
|
* @return array The event names to listen to
|
||||||
*/
|
*/
|
||||||
static function getSubscribedEvents()
|
static public function getSubscribedEvents()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'beforeScenario' => 'prepareDefaultMinkSession',
|
'beforeScenario' => 'prepareDefaultMinkSession',
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<argument type="service" id="behat.mink" />
|
<argument type="service" id="behat.mink" />
|
||||||
<argument>%behat.mink.parameters%</argument>
|
<argument>%behat.mink.parameters%</argument>
|
||||||
<tag name="behat.context.initializer" />
|
<tag name="behat.context.initializer" />
|
||||||
<tag name="behat.event_subscriber" />
|
<tag name="behat.event_subscriber" priority="0" />
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
</services>
|
</services>
|
||||||
|
|||||||
Reference in New Issue
Block a user