You are here

protected function FeedsSyndicationParserTest::feedUrls in Feeds 8.2

Return an array of test feeds.

1 call to FeedsSyndicationParserTest::feedUrls()
FeedsSyndicationParserTest::test in lib/Drupal/feeds/Tests/FeedsSyndicationParserTest.php
Run tests.

File

lib/Drupal/feeds/Tests/FeedsSyndicationParserTest.php, line 49
Tests for plugins/FeedsSyndicationParser.inc.

Class

FeedsSyndicationParserTest
Test single feeds.

Namespace

Drupal\feeds\Tests

Code

protected function feedUrls() {
  $path = $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'feeds') . '/tests/feeds/';
  return array(
    "{$path}developmentseed.rss2" => array(
      'item_count' => 10,
    ),
    "{$path}feed_without_guid.rss2" => array(
      'item_count' => 10,
    ),
  );
}