public static function DrupalContext::uninstallTestModule in Views field formatter 8.2
Uninstalls the test module after all the tests have run.
@AfterSuite
Parameters
\Behat\Testwork\Hook\Scope\AfterSuiteScope $scope: The hook scope.
File
- tests/
Behat/ DrupalContext.php, line 36
Class
- DrupalContext
- Class DrupalContext.
Namespace
Drupal\Tests\views_field_formatter\BehatCode
public static function uninstallTestModule(AfterSuiteScope $scope) : void {
\Drupal::service('module_installer')
->uninstall([
'views_field_formatter_test',
]);
}