You are here

public function DomainSourceTest::setUp in Domain Access 7.3

On setup, install our module and create a default domain.

Parameters

$list: An optional array of modules to enable.

Overrides DomainTestCase::setUp

File

domain_source/tests/domain_source.test, line 10
Simpletest for Domain Source.

Class

DomainSourceTest
@file Simpletest for Domain Source.

Code

public function setUp($list = array()) {
  $modules = array_merge(array(
    'domain_source',
  ), $list);
  parent::setUp($modules);

  // Create some test domains.
  $this
    ->domainCreateDomains();
}