You are here

function JanrainCaptureMappingTestCase::setUp in Janrain Registration 7

Same name and namespace in other branches
  1. 7.4 janrain_capture_mapping/tests/janrain_capture_mapping.test \JanrainCaptureMappingTestCase::setUp()
  2. 7.2 janrain_capture_mapping/tests/janrain_capture_mapping.test \JanrainCaptureMappingTestCase::setUp()
  3. 7.3 janrain_capture_mapping/tests/janrain_capture_mapping.test \JanrainCaptureMappingTestCase::setUp()

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

janrain_capture_mapping/tests/janrain_capture_mapping.test, line 19

Class

JanrainCaptureMappingTestCase

Code

function setUp() {
  parent::setUp('entity', 'janrain_capture', 'janrain_capture_mapping');

  // Create and login user
  $admin_user = $this
    ->drupalCreateUser(array(
    'access administration pages',
    'administer site configuration',
  ));
  $this
    ->drupalLogin($admin_user);
}