diff --git a/core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6AuditIdsTest.php b/core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6AuditIdsTest.php index 73fcc76..0c23e19 100644 --- a/core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6AuditIdsTest.php +++ b/core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6AuditIdsTest.php @@ -113,7 +113,7 @@ public function testAllMigrationsWithIdConflicts() { ->createInstancesByTag('Drupal 6'); // Create content. - $this->createFeed(); + $this->createFeedContent(); $this->createContent(); // Audit the IDs of all migrations. There should be conflicts since content diff --git a/core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7AuditIdsTest.php b/core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7AuditIdsTest.php index 62acd4a..3889277 100644 --- a/core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7AuditIdsTest.php +++ b/core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7AuditIdsTest.php @@ -112,7 +112,7 @@ public function testAllMigrationsWithIdConflicts() { ->createInstancesByTag('Drupal 7'); // Create content. - $this->createFeed(); + $this->createFeedContent(); $this->createContent(); // Audit the IDs of all Drupal 7 migrations. There should be conflicts since diff --git a/core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php b/core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php index d9dfde8..01edd71 100644 --- a/core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php +++ b/core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php @@ -61,17 +61,17 @@ protected function installEntitySchemas() { */ protected function createContent() { $this->createBlockContent(); - $this->createNode(); - $this->createFile(); - $this->createMenuLink(); - $this->createTerm(); - $this->createUser(); + $this->createNodeContent(); + $this->createFileContent(); + $this->createMenuLinkContent(); + $this->createTermContent(); + $this->createUserContent(); } /** * Create an aggregator feed and item. */ - protected function createFeed() { + protected function createFeedContent() { $feed = Feed::create([ 'title' => 'feed', 'url' => 'http://www.example.com', @@ -104,7 +104,7 @@ protected function createBlockContent() { /** * Create a node and comment. */ - protected function createNode() { + protected function createNodeContent() { $node = Node::create([ 'type' => 'page', 'title' => 'page', @@ -122,7 +122,7 @@ protected function createNode() { /** * Create a file. */ - protected function createFile() { + protected function createFileContent() { $file = File::create([ 'uri' => 'public://example.txt', ]); @@ -132,7 +132,7 @@ protected function createFile() { /** * Create a menu link. */ - protected function createMenuLink() { + protected function createMenuLinkContent() { $menu_link = MenuLinkContent::create([ 'title' => 'menu link', 'link' => ['uri' => 'http://www.example.com'], @@ -144,7 +144,7 @@ protected function createMenuLink() { /** * Create a taxonomy term. */ - protected function createTerm() { + protected function createTermContent() { $term = Term::create([ 'name' => 'term', 'vid' => 'term', @@ -155,7 +155,7 @@ protected function createTerm() { /** * Create a user. */ - protected function createUser() { + protected function createUserContent() { $user = User::create([ 'uid' => 2, 'name' => 'user',