function NumberFieldTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
field/ modules/ number/ number.test, line 24
Class
- NumberFieldTestCase
- Tests for number field types.
Code
function setUp() {
parent::setUp('field_test');
$this->web_user = $this->drupalCreateUser(array(
'access field_test content',
'administer field_test content',
'administer content types',
'administer fields',
));
$this->drupalLogin($this->web_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.