function FlagTestCase::setUp in Flag 6
Same name and namespace in other branches
- 6.2 tests/flag.test \FlagTestCase::setUp()
- 7.2 tests/flag.test \FlagTestCase::setUp()
Implementation of setUp().
Overrides DrupalWebTestCase::setUp
File
- tests/
flag.test, line 20
Class
Code
function setUp() {
parent::setUp('flag');
// Create and login user
$admin_user = $this
->drupalCreateUser(array(
'access administration pages',
'administer flags',
));
$this
->drupalLogin($admin_user);
}