You are here

function AggregatorTestCase::getAtomSample in Drupal 7

1 call to AggregatorTestCase::getAtomSample()
FeedParserTestCase::testAtomSample in modules/aggregator/aggregator.test
Tests a feed that uses the Atom format.

File

modules/aggregator/aggregator.test, line 285
Tests for aggregator.module.

Class

AggregatorTestCase
Defines a base class for testing the Aggregator module.

Code

function getAtomSample() {

  // The content of this sample ATOM feed is based directly off of the
  // example provided in RFC 4287.
  return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_atom.xml';
}