public function FeedsMapperDateTestCase::setUp in Feeds 7
Same name and namespace in other branches
- 6 tests/feeds_mapper_date.test \FeedsMapperDateTestCase::setUp()
- 7.2 tests/feeds_mapper_date.test \FeedsMapperDateTestCase::setUp()
Set up the test.
Overrides DrupalWebTestCase::setUp
File
- tests/
feeds_mapper_date.test, line 29
Class
- FeedsMapperDateTestCase
- Class for testing Feeds <em>content</em> mapper.
Code
public function setUp() {
// Call parent setup with the required module.
parent::setUp('feeds', 'feeds_ui', 'ctools', 'job_scheduler', 'content', 'date_api', 'date');
// Create user and login.
$this
->drupalLogin($this
->drupalCreateUser(array(
'administer content types',
'administer feeds',
'administer nodes',
'administer site configuration',
)));
}