function FeedParserTestCase::setUp

Overrides AggregatorTestCase::setUp

File

modules/aggregator/aggregator.test, line 1020

Class

FeedParserTestCase
Tests feed parsing in the Aggregator module.

Code

function setUp() {
  parent::setUp();
  // Do not remove old aggregator items during these tests, since our sample
  // feeds have hardcoded dates in them (which may be expired when this test
  // is run).
  variable_set('aggregator_clear', AGGREGATOR_CLEAR_NEVER);
}

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