function UserImportTest::enableModules in User Import 8
Same name and namespace in other branches
- 5 tests/user_import.test \UserImportTest::enableModules()
enable necessary modules
Parameters
array $modules module file names (without .module):
1 call to UserImportTest::enableModules()
- UserImportNodeprofile::testCreateImport in tests/
user_import_nodeprofile.test - User with right permissions creates import (with new settings)
File
- tests/
user_import.test, line 28
Class
- UserImportTest
- Create Invoice node test for Invoices module.
Code
function enableModules($modules = array()) {
foreach ($modules as $module) {
$this
->drupalModuleEnable($module);
}
}