public function XMLSitemapI18nNodeTest::setUp in XML sitemap 7.2
Same name and namespace in other branches
- 6.2 xmlsitemap_i18n/xmlsitemap_i18n.test \XMLSitemapI18nNodeTest::setUp()
Setup.
Overrides XMLSitemapI18nWebTestCase::setUp
File
- xmlsitemap_i18n/
xmlsitemap_i18n.test, line 152 - Unit tests for the xmlsitemap_i18n project.
Class
- XMLSitemapI18nNodeTest
- Node Test.
Code
public function setUp($modules = array()) {
$modules[] = 'xmlsitemap_node';
parent::setUp($modules);
variable_set('language_content_type_page', 1);
$this->admin_user = $this
->drupalCreateUser(array(
'administer nodes',
));
$this
->drupalLogin($this->admin_user);
}