protected function RulesI18nTestCase::setUp in Rules 7.2
Overrides DrupalWebTestCase::setUp().
Overrides DrupalWebTestCase::setUp
File
- rules_i18n/
rules_i18n.test, line 28 - Rules i18n tests.
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');
}