diff --git a/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayModeTest.php b/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayModeTest.php index 803fbe3..29a46b5 100644 --- a/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayModeTest.php +++ b/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayModeTest.php @@ -40,11 +40,11 @@ public function testEntityViewModeUI() { $this->drupalGet('admin/structure/display-modes/view'); $this->assertResponse(200); - $this->drupalGet('admin/structure/display-modes/view/add/entity_test_mul'); + $this->drupalGet('admin/structure/display-modes/view/add/entity_test_mulrev'); $this->assertResponse(404); $this->drupalGet('admin/structure/display-modes/view/add'); - $this->assertNoLink(t('Test entity - data table'), 'An entity type with no view builder cannot have view modes.'); + $this->assertNoLink(t('Test entity - revisions and data table'), 'An entity type with no view builder cannot have view modes.'); // Test adding a view mode. $this->clickLink(t('Test entity')); diff --git a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityManagerTest.php b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityManagerTest.php index 842668b..8b81166 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityManagerTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityManagerTest.php @@ -34,7 +34,7 @@ public function testMethods() { $this->assertFalse($entity_manager->hasController('non_existent', 'non_existent'), 'A non existent entity type has no controller.'); $this->assertFalse($entity_manager->hasController('entity_test', 'non_existent'), 'An existent entity type does not have a non existent controller.'); - $this->assertFalse($entity_manager->hasController('entity_test_mul', 'view_builder'), 'The test entity does not have specified the view builder.'); + $this->assertFalse($entity_manager->hasController('entity_test_mulrev', 'view_builder'), 'The test entity does not have specified the view builder.'); $this->assertTrue($entity_manager->hasController('entity_test', 'storage'), 'The test entity has specified the controller class'); }