function RulesI18nTestCase::setUp

Overrides DrupalWebTestCase::setUp().

Overrides DrupalWebTestCase::setUp

File

rules_i18n/rules_i18n.test, line 29

Class

RulesI18nTestCase
Test the i18n integration.

Code

protected function setUp() {
    parent::setUp('rules_i18n');
    $this->admin_user = $this->drupalCreateUser(array(
        'bypass node access',
        'administer nodes',
        'administer languages',
        'administer content types',
        'administer blocks',
        'access administration pages',
    ));
    $this->drupalLogin($this->admin_user);
    $this->addLanguage('de');
}