protected function XMLSitemapTestHelper::assertXMLSitemapProblems in XML sitemap 6.2
Same name and namespace in other branches
- 7.2 xmlsitemap.test \XMLSitemapTestHelper::assertXMLSitemapProblems()
1 call to XMLSitemapTestHelper::assertXMLSitemapProblems()
- XMLSitemapFunctionalTest::testStatusReport in ./
xmlsitemap.test - Test that configuration problems are reported properly in the status report.
File
- ./
xmlsitemap.test, line 211 - Unit tests for the xmlsitemap module.
Class
- XMLSitemapTestHelper
- Helper test class with some added functions for testing.
Code
protected function assertXMLSitemapProblems($problem_text = FALSE) {
$this
->drupalGet('admin/settings/xmlsitemap');
$this
->assertText(t('One or more problems were detected with your XML sitemap configuration'));
if ($problem_text) {
$this
->assertText($problem_text);
}
}