public function FeatureContext::after in Open Social 8
Same name and namespace in other branches
- 8.2 tests/behat/features/bootstrap/FeatureContext.php \FeatureContext::after()
@AfterScenario
Parameters
$event:
File
- tests/
behat/ features/ bootstrap/ FeatureContext.php, line 54
Class
- FeatureContext
- Defines application features from the specific context.
Code
public function after($event) {
// Let's disable the tour module for all tests by default.
\Drupal::configFactory()
->getEditable('social_tour.settings')
->set('social_tour_enabled', 1)
->save();
}