Commit 4610a745 authored by gbyte.co's avatar gbyte.co

Adjust tests

parent 21a9b8fe
......@@ -46,14 +46,14 @@ class SimplesitemapTest extends WebTestBase {
}
/**
* Verify sitemap.xml has the link to the front page with priority '1' after first generation.
* Verify sitemap.xml has the link to the front page with priority '1.0' after first generation.
*/
public function testInitialGeneration() {
$this->generator->generateSitemap('nobatch');
$this->drupalGet('sitemap.xml');
$this->assertRaw('urlset');
$this->assertRaw($GLOBALS['base_url']);
$this->assertRaw('1');
$this->assertText($GLOBALS['base_url']);
$this->assertText('1.0');
}
/**
......
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