You are here

protected function DynamicEntityReferenceTest::setUp in Dynamic Entity Reference 7

Sets up the test.

Overrides DrupalWebTestCase::setUp

File

./dynamic_entity_reference.test, line 71
Contains tests for the module.

Class

DynamicEntityReferenceTest
Ensures that Dynamic Entity References field works correctly.

Code

protected function setUp() {
  parent::setUp(self::$modules);
  $this
    ->drupalCreateContentType(array(
    'type' => 'ponies',
  ));
  $this->adminUser = $this
    ->drupalCreateUser($this->permissions);
  $this->anotherUser = $this
    ->drupalCreateUser();
}