Commit 1728ef6b authored by gbyte.co's avatar gbyte.co

Adjust tests

parent 23d7d722
......@@ -46,9 +46,10 @@ class SimplesitemapTest extends WebTestBase {
}
/**
* Verify sitemap.xml has been generated on install (custom path generation).
* Verify sitemap.xml has the link to the front page with priority '1' after first generation.
*/
public function testInitialGeneration() {
$this->generator->generateSitemap('nobatch');
$this->drupalGet('sitemap.xml');
$this->assertRaw('urlset');
$this->assertRaw($GLOBALS['base_url']);
......
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