Unverified Commit 6fc1dfe9 authored by Dave Reid's avatar Dave Reid
Browse files

Attempt to fix tests by using getInternalPath().

parent c65f8e1b
......@@ -88,9 +88,9 @@ class XmlSitemapEntityFunctionalTest extends XmlSitemapTestBase {
]);
$this->regenerateSitemap();
$this->drupalGet('sitemap.xml');
$this->drupalGetSitemap();
$this->assertResponse(200);
$this->assertNoRaw($entity->url());
$this->assertNoRaw($entity->toUrl()->getInternalPath());
$entity->delete();
$this->assertNoSitemapLink('entity_test_mul');
......@@ -111,9 +111,9 @@ class XmlSitemapEntityFunctionalTest extends XmlSitemapTestBase {
]);
$this->regenerateSitemap();
$this->drupalGet('sitemap.xml');
$this->drupalGetSitemap();
$this->assertResponse(200);
$this->assertRaw($entity->url());
$this->assertRaw($entity->toUrl()->getInternalPath());
$id = $entity->id();
$entity->delete();
......
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