diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php index 6c9e1a9..4f3defa 100644 --- a/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/NodeTypeTest.php @@ -194,12 +194,12 @@ function testNodeTypeDeletion() { // Test that forum node type could not be deleted while forum active. $this->container->get('module_handler')->install(array('forum')); $this->drupalGet('admin/structure/types/manage/forum'); - $this->assertNoRaw(t('Delete content type')); + $this->assertNoLink(t('Delete')); $this->drupalGet('admin/structure/types/manage/forum/delete'); $this->assertResponse(403); $this->container->get('module_handler')->uninstall(array('forum')); $this->drupalGet('admin/structure/types/manage/forum'); - $this->assertRaw(t('Delete content type')); + $this->assertLink(t('Delete')); $this->drupalGet('admin/structure/types/manage/forum/delete'); $this->assertResponse(200); }