Commit 8e2ae62c authored by andrei.dincu's avatar andrei.dincu
Browse files

Issue #2249723 by andrei.dincu: XmlSitemapTestHelper get sitemap uri with...

Issue #2249723 by andrei.dincu: XmlSitemapTestHelper get sitemap uri with xmlsitemap_sitemap_uri() function
parent 437940a1
......@@ -77,7 +77,8 @@ class XmlSitemapTestHelper extends WebTestBase {
if (!$sitemap) {
return $this->fail('Could not load sitemap by context.');
}
return $this->drupalGet($sitemap->uri['path'], $options + $sitemap->uri['options'], $headers);
$uri = xmlsitemap_sitemap_uri($sitemap);
return $this->drupalGet($uri['path'], $options + $uri['options'], $headers);
}
/**
......
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