diff --git a/behat.yml b/behat.yml index 053d4d3c..a5ecc748 100644 --- a/behat.yml +++ b/behat.yml @@ -11,7 +11,7 @@ default: contexts: [ 'FeatureContext' ] mfa_features: paths: [ '%paths.base%//features//mfa.feature' ] - contexts: [ 'FeatureContext' ] + contexts: [ 'MfaContext' ] profilereview_features: paths: [ '%paths.base%//features//profilereview.feature' ] contexts: [ 'ProfileReviewContext' ] diff --git a/features/bootstrap/context/MfaContext.php b/features/bootstrap/MfaContext.php similarity index 96% rename from features/bootstrap/context/MfaContext.php rename to features/bootstrap/MfaContext.php index 3bc31f6c..e8e2fa1a 100644 --- a/features/bootstrap/context/MfaContext.php +++ b/features/bootstrap/MfaContext.php @@ -1,12 +1,7 @@ driver = new GoutteDriver(); - $this->session = new Session($this->driver); - $this->session->start(); - } - + /** * Assert that the given page has a form that contains the given text. *