You are here

function ReadMoreControlTestCase::setUp in Read More Control 7

Implements DrupalWebTestCase::setUp().

Overrides DrupalWebTestCase::setUp

File

./readmorecontrol.test, line 30
Tests for readmorecontrol.module.

Class

ReadMoreControlTestCase
Tests for number field types.

Code

function setUp() {
  parent::setUp(array(
    'field_test',
    'readmorecontrol',
  ));
  $this->webUser = $this
    ->drupalCreateUser(array(
    'access field_test content',
    'administer field_test content',
    'administer content types',
    'administer nodes',
    'bypass node access',
  ));
  $this
    ->drupalLogin($this->webUser);
}