You are here

function UserImportTest::enableModules in User Import 5

Same name and namespace in other branches
  1. 8 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) * - test import of user data into Nodeprofile module

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);
  }
}