You are here

function ReferenceOptionLimitTaxonomyTestCase::setUp in Reference field option limit 7

Implements setUp().

Overrides DrupalWebTestCase::setUp

File

tests/reference_option_limit.test, line 27
Contains tests for the Reference option limit module.

Class

ReferenceOptionLimitTaxonomyTestCase
Test use of the module with term reference fields.

Code

function setUp() {
  parent::setUp(array(
    'reference_option_limit',
    'reference_option_limit_test_taxonomy',
  ));

  // Create our creator user.
  $this->user = $this
    ->drupalCreateUser(array(
    'administer nodes',
    'create test_rol_node_taxo content',
    'edit any test_rol_node_taxo content',
  ));
  $this
    ->drupalLogin($this->user);
}