function JanrainCaptureMappingTestCase::setUp in Janrain Registration 7.4
Same name and namespace in other branches
- 7 janrain_capture_mapping/tests/janrain_capture_mapping.test \JanrainCaptureMappingTestCase::setUp()
- 7.2 janrain_capture_mapping/tests/janrain_capture_mapping.test \JanrainCaptureMappingTestCase::setUp()
- 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
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);
}