1 batch_example.test | public BatchExampleTestCase::setUp() |
Enable modules and create user with specific permissions.
Overrides BackdropWebTestCase::setUp
File
- modules/
examples/ batch_example/ tests/ batch_example.test, line 21 - Test case for Testing the batch example module.
Class
- BatchExampleTestCase
- Functional tests for the Batch Example module.
Code
public function setUp() {
parent::setUp('batch_example');
// Create user.
$this->webUser = $this->backdropCreateUser();
// Delete the existing default content.
node_delete_multiple(array(1, 2));
}