Loading core/modules/migrate_drupal/tests/src/Traits/NodeMigrateTypeTestTrait.php +1 −4 Original line number Diff line number Diff line Loading @@ -67,10 +67,7 @@ protected function removeNodeMigrateMapTable($type, $version) { */ protected function getTableName($type, $version) { if (!$this->tableName) { // PostgreSQL table names are automatically converted lowercase. If this // string is not lowercase then we can't remove the table in // \Drupal\Tests\migrate_drupal\Traits\NodeMigrateTypeTestTrait::removeNodeMigrateMapTable(). $content_type = strtolower($this->randomMachineName()); $content_type = $this->randomMachineName(); $this->tableName = 'migrate_map_d' . $version . '_node_complete__' . $content_type; if ($type == NodeMigrateType::NODE_MIGRATE_TYPE_CLASSIC) { $this->tableName = 'migrate_map_d' . $version . '_node__' . $content_type; Loading Loading
core/modules/migrate_drupal/tests/src/Traits/NodeMigrateTypeTestTrait.php +1 −4 Original line number Diff line number Diff line Loading @@ -67,10 +67,7 @@ protected function removeNodeMigrateMapTable($type, $version) { */ protected function getTableName($type, $version) { if (!$this->tableName) { // PostgreSQL table names are automatically converted lowercase. If this // string is not lowercase then we can't remove the table in // \Drupal\Tests\migrate_drupal\Traits\NodeMigrateTypeTestTrait::removeNodeMigrateMapTable(). $content_type = strtolower($this->randomMachineName()); $content_type = $this->randomMachineName(); $this->tableName = 'migrate_map_d' . $version . '_node_complete__' . $content_type; if ($type == NodeMigrateType::NODE_MIGRATE_TYPE_CLASSIC) { $this->tableName = 'migrate_map_d' . $version . '_node__' . $content_type; Loading