public function GNodeWebTestBase::setUp in Group 7
Test setup instructions.
Overrides DrupalWebTestCase::setUp
1 call to GNodeWebTestBase::setUp()
- GNodeSafeModeViewWithAnotherModuleTests::setUp in modules/
gnode/ tests/ gnode.test - Test setup instructions.
1 method overrides GNodeWebTestBase::setUp()
- GNodeSafeModeViewWithAnotherModuleTests::setUp in modules/
gnode/ tests/ gnode.test - Test setup instructions.
File
- modules/
gnode/ tests/ gnode.test, line 16 - Tests for the gnode module.
Class
- GNodeWebTestBase
- Base class provides a number of helper functions.
Code
public function setUp() {
$modules = array_merge(func_get_args(), array(
'node',
'entity',
'group',
'gnode',
));
parent::setUp(array_unique($modules));
node_access_rebuild();
}