You are here

protected function XmlSitemapTestBase::assertNoXMLSitemapProblems in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/XmlSitemapTestBase.php \Drupal\Tests\xmlsitemap\Functional\XmlSitemapTestBase::assertNoXMLSitemapProblems()

Assert No XML Sitemap Problems.

@codingStandardsIgnoreStart

1 call to XmlSitemapTestBase::assertNoXMLSitemapProblems()
XmlSitemapFunctionalTest::testStatusReport in tests/src/Functional/XmlSitemapFunctionalTest.php
Test Status Report.

File

tests/src/Functional/XmlSitemapTestBase.php, line 386

Class

XmlSitemapTestBase
Helper test class with some added functions for testing.

Namespace

Drupal\Tests\xmlsitemap\Functional

Code

protected function assertNoXMLSitemapProblems() {

  // @codingStandardsIgnoreEnd
  $this
    ->drupalGet('admin/config/search/xmlsitemap');
  $this
    ->assertSession()
    ->pageTextNotContains('One or more problems were detected with your XML sitemap configuration');
}