Commit 44c43fb9 authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Fixed test failure for latest commit.

parent 57981ba3
......@@ -149,7 +149,7 @@ class XMLSitemapTestHelper extends DrupalWebTestCase {
protected function assertXMLSitemapProblems($problem_text = FALSE) {
$this->drupalGet('admin/config/search/xmlsitemap');
$this->assertText(t('One or more problems were detected with your XML sitemap configuration. Check the status report for more information.'));
$this->assertText(t('One or more problems were detected with your XML sitemap configuration'));
if ($problem_text) {
$this->assertText($problem_text);
}
......@@ -157,7 +157,7 @@ class XMLSitemapTestHelper extends DrupalWebTestCase {
protected function assertNoXMLSitemapProblems() {
$this->drupalGet('admin/config/search/xmlsitemap');
$this->assertNoText(t('One or more problems were detected with your XML sitemap configuration. Check the status report for more information.'));
$this->assertNoText(t('One or more problems were detected with your XML sitemap configuration'));
}
private function getWatchdogMessage(array $conditions) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment