private function AbstractDrupalBootTest::prepareAllEnabled in X Autoload 7.5
Start with all available modules enabled.
1 call to AbstractDrupalBootTest::prepareAllEnabled()
- AbstractDrupalBootTest::testNormalRequest in tests/
src/ DrupalBootTest/ AbstractDrupalBootTest.php - Tests a simulated regular request.
File
- tests/
src/ DrupalBootTest/ AbstractDrupalBootTest.php, line 131
Class
- AbstractDrupalBootTest
- @runTestsInSeparateProcesses @preserveGlobalState disabled
Namespace
Drupal\xautoload\Tests\DrupalBootTestCode
private function prepareAllEnabled() {
foreach (array(
'system',
'xautoload',
'libraries',
) as $name) {
$this->exampleDrupal
->getSystemTable()
->moduleSetEnabled($name);
}
foreach ($this->exampleModules
->getExampleClasses() as $name => $classes) {
$this->exampleDrupal
->getSystemTable()
->moduleSetEnabled($name);
}
$this->exampleDrupal
->getSystemTable()
->moduleSetWeight('xautoload', -90);
}