You are here

public function FeedsRSStoNodesTest::setUp in Feeds 7

Same name and namespace in other branches
  1. 6 tests/feeds_processor_node.test \FeedsRSStoNodesTest::setUp()
  2. 7.2 tests/feeds_processor_node.test \FeedsRSStoNodesTest::setUp()

Set up test.

Overrides DrupalWebTestCase::setUp

File

tests/feeds_processor_node.test, line 30
Tests for plugins/FeedsNodeProcessor.inc.

Class

FeedsRSStoNodesTest
Test aggregating a feed as node items.

Code

public function setUp() {
  parent::setUp('feeds', 'feeds_ui', 'ctools', 'job_scheduler');
  $user = $this
    ->drupalCreateUser(array(
    'administer site configuration',
    'administer feeds',
    'administer nodes',
    'administer content types',
    'create page content',
    'edit any page content',
  ));
  $this
    ->drupalLogin($user);
}