function AggregatorTestBase::getRSS091Sample

2 calls to AggregatorTestBase::getRSS091Sample()
FeedParserTest::testRSS091Sample in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/FeedParserTest.php
Tests a feed that uses the RSS 0.91 format.
UpdateFeedItemTest::testUpdateFeedItem in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/UpdateFeedItemTest.php
Tests running "update items" from 'admin/config/services/aggregator' page.

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php, line 338
Definition of Drupal\aggregator\Tests\AggregatorTestBase.

Class

AggregatorTestBase
Defines a base class for testing the Aggregator module.

Namespace

Drupal\aggregator\Tests

Code

function getRSS091Sample() {
  return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/modules/aggregator_test/aggregator_test_rss091.xml';
}