You are here

function DevelGenerateTest::setUp in Devel 7

Prepares the testing environment

Overrides DrupalWebTestCase::setUp

File

devel_generate/devel_generate.test, line 27
Implements tests for devel_generate submodule.

Class

DevelGenerateTest
class DevelGenerateTest

Code

function setUp() {
  parent::setUp(array(
    'devel',
    'devel_generate',
    'taxonomy',
    'menu',
    'comment',
  ));

  // Create Basic page and Article node types.
  if ($this->profile != 'standard') {
    $this
      ->drupalCreateContentType(array(
      'type' => 'page',
      'name' => 'Basic Page',
    ));
  }
}