protected function RulesConditionalUITestCase::setUp in Conditional Rules 8
Same name and namespace in other branches
- 7 tests/rules_conditional.test \RulesConditionalUITestCase::setUp()
Sets up test case.
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);
}