function DevelGenerateTest::setUp
Prepares the testing environment
Overrides DrupalWebTestCase::setUp
File
-
devel_generate/
devel_generate.test, line 27
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',
));
}
}