function AggregatorTestBase::getRSS091Sample

Same name in other branches
  1. 8.9.x core/modules/aggregator/src/Tests/AggregatorTestBase.php \Drupal\aggregator\Tests\AggregatorTestBase::getRSS091Sample()
  2. 8.9.x core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php \Drupal\Tests\aggregator\Functional\AggregatorTestBase::getRSS091Sample()

Returns an example RSS091 feed.

Return value

string Path to the feed.

4 calls to AggregatorTestBase::getRSS091Sample()
AggregatorAdminTest::testOverviewPage in core/modules/aggregator/tests/src/Functional/AggregatorAdminTest.php
Tests the overview page.
AggregatorDisplayConfigurableTest::testFeedDisplayConfigurable in core/modules/aggregator/tests/src/Functional/AggregatorDisplayConfigurableTest.php
Tests base fields to configurable display settings.
FeedParserTest::testRSS091Sample in core/modules/aggregator/tests/src/Functional/FeedParserTest.php
Tests a feed that uses the RSS 0.91 format.
UpdateFeedItemTest::testUpdateFeedItem in core/modules/aggregator/tests/src/Functional/UpdateFeedItemTest.php
Tests running "update items" from 'admin/config/services/aggregator' page.

File

core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php, line 358

Class

AggregatorTestBase
Defines a base class for testing the Aggregator module.

Namespace

Drupal\Tests\aggregator\Functional

Code

public function getRSS091Sample() {
    return $GLOBALS['base_url'] . '/' . $this->getModulePath('aggregator') . '/tests/modules/aggregator_test/aggregator_test_rss091.xml';
}

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