You are here

public function RulesFormsInterfaceTestCase::setUp in Rules Forms Support 7

Same name and namespace in other branches
  1. 7.2 rules_forms.test \RulesFormsInterfaceTestCase::setUp()

Sets up the test.

Overrides DrupalWebTestCase::setUp

File

./rules_forms.test, line 34
Stores tests related to Rules Form.

Class

RulesFormsInterfaceTestCase
Class that tests Rules Forms.

Code

public function setUp() {
  parent::setUp('rules_forms', 'rules');
  $this->user = $this
    ->drupalCreateUser(array(
    'administer nodes',
    'access content',
    'create article content',
    'administer rules forms rules',
    'administer rules forms',
  ));
  $this
    ->drupalLogin($this->user);
}