Mercurial > hg > cmmr2012-drupal-site
diff core/modules/comment/tests/src/Functional/CommentLinksTest.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/modules/comment/tests/src/Functional/CommentLinksTest.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/comment/tests/src/Functional/CommentLinksTest.php Thu May 09 15:34:47 2019 +0100 @@ -105,7 +105,7 @@ entity_get_display('comment', 'comment', 'default') ->setComponent('links', ['weight' => -100]) ->save(); - $this->drupalGet($this->node->urlInfo()); + $this->drupalGet($this->node->toUrl()); $element = $this->cssSelect('article.js-comment > div'); // Get last child element. $element = end($element); @@ -115,7 +115,7 @@ entity_get_display('comment', 'comment', 'default') ->setComponent('links', ['weight' => 100]) ->save(); - $this->drupalGet($this->node->urlInfo()); + $this->drupalGet($this->node->toUrl()); $element = $this->cssSelect('article.js-comment > div'); // Get last child element. $element = end($element); @@ -125,7 +125,7 @@ entity_get_display('node', $this->node->bundle(), 'default') ->removeComponent('links') ->save(); - $this->drupalGet($this->node->urlInfo()); + $this->drupalGet($this->node->toUrl()); $this->assertNoLink('1 comment'); $this->assertNoLink('Add new comment');