diff --git a/core/modules/entity/src/Tests/EntityDisplayModeTest.php b/core/modules/entity/src/Tests/EntityDisplayModeTest.php index ce4084f..aae564f 100644 --- a/core/modules/entity/src/Tests/EntityDisplayModeTest.php +++ b/core/modules/entity/src/Tests/EntityDisplayModeTest.php @@ -35,7 +35,7 @@ public function testEntityViewModeUI() { $this->assertResponse(200); $this->assertText(t('Add new view mode')); $this->assertLinkByHref('admin/structure/display-modes/view/add'); - $this->assertLinkByHref('admin/structure/display-modes/view/add', 1); + $this->assertLinkByHref('admin/structure/display-modes/view/add/entity_test_mulrev'); $this->drupalGet('admin/structure/display-modes/view/add/entity_test_mulrev'); $this->assertResponse(404);