diff --git a/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php b/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php index 195718a..96461ac 100644 --- a/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php +++ b/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php @@ -92,7 +92,7 @@ public function testNewWorkflow() { $session->fieldDisabled('type_settings[default_revision]'); $this->drupalGet('admin/config/workflow/workflows/manage/test/type/node'); - $session->pageTextContains('Select the content type entities for the Test workflow'); + $session->pageTextContains('Select the content types for the Test workflow'); foreach ($types as $type) { $session->pageTextContains($type->label()); } diff --git a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php index 72372af..c55686e 100644 --- a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php +++ b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php @@ -244,7 +244,7 @@ public function testUserSource() { ]; $migration = $this->migrationPluginManager->createStubMigration($this->migrationDefinition('content_entity:user')); $user_source = $this->sourcePluginManager->createInstance('content_entity:user', $configuration, $migration); - $this->assertSame('user entities', $user_source->__toString()); + $this->assertSame('users', $user_source->__toString()); $this->assertEquals(1, $user_source->count()); $ids = $user_source->getIds(); $this->assertArrayHasKey('langcode', $ids); @@ -395,7 +395,7 @@ public function testTermSource() { ]; $migration = $this->migrationPluginManager->createStubMigration($this->migrationDefinition('content_entity:taxonomy_term')); $term_source = $this->sourcePluginManager->createInstance('content_entity:taxonomy_term', $configuration, $migration); - $this->assertSame('taxonomy term entities', $term_source->__toString()); + $this->assertSame('taxonomy terms', $term_source->__toString()); $this->assertEquals(2, $term_source->count()); $ids = $term_source->getIds(); $this->assertArrayHasKey('langcode', $ids); diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php index 23d5c29..64fc230 100644 --- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php +++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php @@ -231,7 +231,7 @@ protected function assertReviewPage(WebAssert $session, array $all_available, ar protected function assertIdConflict(WebAssert $session) { $session->pageTextContains('WARNING: Content may be overwritten on your new site.'); $session->pageTextContains('There is conflicting content of these types:'); - $session->pageTextContains('custom block entities'); + $session->pageTextContains('custom blocks'); $session->pageTextContains('custom menu link entities'); $session->pageTextContains('file entities'); $session->pageTextContains('taxonomy term entities'); diff --git a/core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php b/core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php index 86d06e3..69974d4 100644 --- a/core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php +++ b/core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php @@ -78,10 +78,10 @@ public function testUninstall() { $this->assertText($this->terms[$term_count - $i]->label()); } $term_count = $term_count - 10; - $this->assertText("And $term_count more taxonomy term entities."); + $this->assertText("And $term_count more taxonomy terms."); $this->assertText('This action cannot be undone.'); $this->assertText('Make a backup of your database if you want to be able to restore these items.'); - $this->drupalPostForm(NULL, [], t('Delete all taxonomy term entities')); + $this->drupalPostForm(NULL, [], t('Delete all taxonomy terms')); // Check that we are redirected to the uninstall page and data has been // removed.