protected function RulesConditionalUITestCase::setUp in Conditional Rules 7
Same name and namespace in other branches
- 8 tests/rules_conditional.test \RulesConditionalUITestCase::setUp()
Sets up test case.
Overrides DrupalWebTestCase::setUp
File
- tests/
rules_conditional.test, line 670 - SimpleTest testing suites.
Class
- RulesConditionalUITestCase
- UI tests.
Code
protected function setUp() {
parent::setUp('rules_conditional_test', 'rules_admin');
$user = $this
->drupalCreateUser(array(
'administer rules',
));
$this
->drupalLogin($user);
}