diff --git a/core/modules/comment/src/Tests/CommentTitleTest.php b/core/modules/comment/src/Tests/CommentTitleTest.php index 24cf865..9f9b4ef 100644 --- a/core/modules/comment/src/Tests/CommentTitleTest.php +++ b/core/modules/comment/src/Tests/CommentTitleTest.php @@ -67,6 +67,6 @@ public function testCommentPopulatedTitles() { // Tests that the comment's title has the correct link. $comment_permalink = $this->cssSelect('.permalink'); $comment_permalink = (string) $comment_permalink[0]['href']; - $this->assertEqual('/comment/' . $comment1->id() . '#comment-' . $comment1->id(), $comment_permalink, 'The comment\'s title has the correct link'); + $this->assertEqual(base_path() . 'comment/' . $comment1->id() . '#comment-' . $comment1->id(), $comment_permalink, 'The comment\'s title has the correct link'); } }