protected function MaxlengthTestCase::setUp in Maxlength 8
Same name and namespace in other branches
- 7.3 maxlength.test \MaxlengthTestCase::setUp()
File
- ./
maxlength.test, line 20 - Test maxlength module.
Class
- MaxlengthTestCase
- @file Test maxlength module.
Code
protected function setUp() {
parent::setUp('maxlength');
$type = $this
->drupalCreateContentType();
$this->type = $type->type;
$this->hyphen_type = str_replace('_', '-', $this->type);
$this->admin = $this
->drupalCreateUser(array(
'administer content types',
'bypass node access',
));
}