Commit c75da70c authored by Pawel G's avatar Pawel G
Browse files

Test initial sitemap generation in SimplesitemapTest

parent 50567261
......@@ -40,13 +40,14 @@ class SimplesitemapTest extends WebTestBase {
* Test Simple sitemap integration.
public function testSimplesitemap() {
// Verify sitemap.xml can be cached.
// Verify sitemap.xml has been generated on install (custom path generation).
$this->assertEqual($this->drupalGetHeader('X-Drupal-Cache'), 'MISS');
$this->assertEqual($this->drupalGetHeader('X-Drupal-Cache'), 'HIT');
/* @var $node \Drupal\Node\NodeInterface */
$node = $this->createNode(['title' => 'A new page', 'type' => 'page']);
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