You are here

public function AggregatorTestBase::getRSS091Sample in Drupal 9

Same name and namespace in other branches
  1. 8 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
Sets feed base fields to configurable display and checks settings are respected.
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';
}