function DevelGenerateTest::setUp
Same name in other branches
- 8.x-1.x devel_generate/src/Tests/DevelGenerateTest.php \Drupal\devel_generate\Tests\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',
));
}
}