You are here

public function RulesFormsInterfaceTestCase::setUp in Rules Forms Support 7.2

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

Sets up the test.

Overrides DrupalWebTestCase::setUp

File

./rules_forms.test, line 32
Rules Forms Support tests.

Class

RulesFormsInterfaceTestCase
Rules Forms Support test class.

Code

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