You are here

function ReferenceOptionLimitEntityreferenceTestCase::setUp in Reference field option limit 7

Implements setUp().

Overrides DrupalWebTestCase::setUp

File

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

Class

ReferenceOptionLimitEntityreferenceTestCase
Test use of the module with entityreference fields.

Code

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

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