diff --git a/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php b/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php index 9582a0f..018b508 100644 --- a/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php +++ b/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php @@ -82,7 +82,7 @@ public function testModeratedContentPage() { $nodes['draft_page_2'] = $this->drupalCreateNode(['type' => 'page', 'changed' => $time, 'moderation_state' => 'draft']); // Verify view, edit, and delete links for any content. - $this->drupalGet('admin/content/node/moderated'); + $this->drupalGet('admin/content/moderated'); $assert_sesison->statusCodeEquals(200); // Check that nodes with pending revisions appear in the view. @@ -108,7 +108,7 @@ public function testModeratedContentPage() { $assert_sesison->pageTextNotContains('first article - published'); // Verify filtering by moderation state. - $this->drupalGet('admin/content/node/moderated', ['query' => ['moderation_state' => 'draft']]); + $this->drupalGet('admin/content/moderated', ['query' => ['moderation_state' => 'draft']]); $assert_sesison->linkByHrefExists('node/' . $nodes['published_then_draft_article']->id() . '/edit'); $assert_sesison->linkByHrefExists('node/' . $nodes['draft_article']->id() . '/edit'); @@ -117,7 +117,7 @@ public function testModeratedContentPage() { $assert_sesison->linkByHrefNotExists('node/' . $nodes['published_then_archived_article']->id() . '/edit'); // Verify filtering by moderation state and content type. - $this->drupalGet('admin/content/node/moderated', ['query' => ['moderation_state' => 'draft', 'type' => 'page']]); + $this->drupalGet('admin/content/moderated', ['query' => ['moderation_state' => 'draft', 'type' => 'page']]); $assert_sesison->linkByHrefExists('node/' . $nodes['draft_page_1']->id() . '/edit'); $assert_sesison->linkByHrefExists('node/' . $nodes['draft_page_2']->id() . '/edit');