protected function XMLSitemapTestHelper::assertXMLSitemapProblems in XML sitemap 7.2
Same name and namespace in other branches
- 6.2 xmlsitemap.test \XMLSitemapTestHelper::assertXMLSitemapProblems()
Assert XML Sitemap Problems.
@codingStandardsIgnoreStart
1 call to XMLSitemapTestHelper::assertXMLSitemapProblems()
- XMLSitemapFunctionalTest::testStatusReport in ./
xmlsitemap.test - Test Status Report Function.
File
- ./
xmlsitemap.test, line 282 - Unit tests for the xmlsitemap.
Class
- XMLSitemapTestHelper
- Helper test class with some added functions for testing.
Code
protected function assertXMLSitemapProblems($problem_text = FALSE) {
// @codingStandardsIgnoreEnd
$this
->drupalGet('admin/config/search/xmlsitemap');
$this
->assertText(t('One or more problems were detected with your XML sitemap configuration'));
if ($problem_text) {
$this
->assertText($problem_text);
}
}