You are here

public function FeedListBuilderTest::testUiWithNoFeeds in Feeds 8.3

Tests the feed listing page when there are no feeds yet.

File

tests/src/Functional/FeedListBuilderTest.php, line 48

Class

FeedListBuilderTest
Tests the feed listing page.

Namespace

Drupal\Tests\feeds\Functional

Code

public function testUiWithNoFeeds() {

  // Go to the feed listing page.
  $this
    ->drupalGet('admin/content/feed');
  $session = $this
    ->assertSession();

  // Assert that there are no warnings nor errors displayed.
  $this
    ->assertNoWarnings();
}