function AggregatorTestCase::setUp

Overrides DrupalWebTestCase::setUp

1 call to AggregatorTestCase::setUp()
FeedParserTestCase::setUp in modules/aggregator/aggregator.test
Sets up a Drupal site for running functional and integration tests.
1 method overrides AggregatorTestCase::setUp()
FeedParserTestCase::setUp in modules/aggregator/aggregator.test
Sets up a Drupal site for running functional and integration tests.

File

modules/aggregator/aggregator.test, line 12

Class

AggregatorTestCase
Defines a base class for testing the Aggregator module.

Code

function setUp() {
    parent::setUp('aggregator', 'aggregator_test');
    $web_user = $this->drupalCreateUser(array(
        'administer news feeds',
        'access news feeds',
        'create article content',
    ));
    $this->drupalLogin($web_user);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.