public function FeatureContext::before in Booking and Availability Management Tools for Drupal 7
Same name and namespace in other branches
- 8 test/behat/features/bootstrap/FeatureContext.php \FeatureContext::before()
@BeforeScenario
File
- test/
behat/ features/ bootstrap/ FeatureContext.php, line 87
Class
- FeatureContext
- Features context.
Code
public function before(BeforeScenarioScope $scope) {
$environment = $scope
->getEnvironment();
$this->minkContext = $environment
->getContext('Drupal\\DrupalExtension\\Context\\MinkContext');
}