diff --git a/core/modules/comment/tests/src/Functional/CommentUserTest.php b/core/modules/comment/tests/src/Functional/CommentUserTest.php index b43c1a1..3faf8fa 100644 --- a/core/modules/comment/tests/src/Functional/CommentUserTest.php +++ b/core/modules/comment/tests/src/Functional/CommentUserTest.php @@ -99,7 +99,7 @@ public function testUserCommenting() { $edit = []; $edit['subject[0][value]'] = 'I can comment on a user?'; $this->submitForm($edit, t('Save')); - $this->assertSession()->addressEquals($this->basePath . 'user/' . $this->adminUser->id() . '#comment-1'); + $this->assertSession()->addressEquals($this->basePath . '/user/' . $this->adminUser->id() . '#comment-1'); $this->assertSession()->pageTextContains('Your comment has been posted'); $this->assertSession()->statusCodeEquals(200); $this->assertSession()->pageTextContains('I can comment on a user');