diff --git a/modules/apigee_edge_teams/tests/src/Functional/UiTest.php b/modules/apigee_edge_teams/tests/src/Functional/UiTest.php index 287fda4d..bfa37627 100644 --- a/modules/apigee_edge_teams/tests/src/Functional/UiTest.php +++ b/modules/apigee_edge_teams/tests/src/Functional/UiTest.php @@ -257,7 +257,7 @@ protected function teamsWorkflowTest() { // Login with the default user, the created team app should be visible on // the team app administer collection page (/team-apps). $this->drupalLogin($this->account); - $this->drupalGet(Url::fromRoute('entity.team_app.collection_by_team')); + $this->drupalGet($this->team->toUrl('collection')); $this->assertSession()->linkExists($team_modified_display_name); $this->assertSession()->linkExists($team_app_1_modified_display_name); @@ -270,7 +270,7 @@ protected function teamsWorkflowTest() { // Remove the other user from the team's member list. $this->drupalLogin($this->account); - $this->drupalGet(Url::fromRoute('entity.team_app.collection_by_team')); + $this->drupalGet($this->team->toUrl('collection')); $this->clickLink($team_modified_display_name); $this->clickLink('Members'); $this->getSession()->getPage()->findById((Html::getUniqueId($this->otherAccount->getEmail())))->clickLink('Remove');