function NodePostSettingsTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
node/ node.test, line 883
Class
- NodePostSettingsTestCase
- Checks that the post information displays when enabled for a content type.
Code
function setUp() {
parent::setUp();
$web_user = $this->drupalCreateUser(array(
'create page content',
'administer content types',
'access user profiles',
));
$this->drupalLogin($web_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.