public function AggregatorTestBase::getRSS091Sample in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/aggregator/src/Tests/AggregatorTestBase.php \Drupal\aggregator\Tests\AggregatorTestBase::getRSS091Sample()
Returns a example RSS091 feed.
Return value
string Path to the feed.
3 calls to AggregatorTestBase::getRSS091Sample()
- AggregatorAdminTest::testOverviewPage in core/
modules/ aggregator/ src/ Tests/ AggregatorAdminTest.php - Tests the overview page.
- FeedParserTest::testRSS091Sample in core/
modules/ aggregator/ src/ Tests/ FeedParserTest.php - Tests a feed that uses the RSS 0.91 format.
- UpdateFeedItemTest::testUpdateFeedItem in core/
modules/ aggregator/ src/ Tests/ UpdateFeedItemTest.php - Tests running "update items" from 'admin/config/services/aggregator' page.
File
- core/
modules/ aggregator/ src/ Tests/ AggregatorTestBase.php, line 323 - Contains \Drupal\aggregator\Tests\AggregatorTestBase.
Class
- AggregatorTestBase
- Defines a base class for testing the Aggregator module.
Namespace
Drupal\aggregator\TestsCode
public function getRSS091Sample() {
return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/modules/aggregator_test/aggregator_test_rss091.xml';
}