protected function CacheFlushAdvancedTest::setUp in CacheFlush 7.3
Sets up the test.
Overrides DrupalWebTestCase::setUp
File
- modules/
cacheflush_advanced/ cacheflush_advanced.test, line 27 - Contains test suite for cacheflush module.
Class
- CacheFlushAdvancedTest
- Defines a test for cacheflush module.
Code
protected function setUp() {
parent::setUp(array(
'cacheflush_advanced',
));
$roles = array(
'cacheflush create new',
'cacheflush view own',
'cacheflush edit own',
'cacheflush delete own',
);
$user = $this
->drupalCreateUser($roles);
$this
->drupalLogin($user);
}