Commit 8c8056ec authored by catch's avatar catch
Browse files

Issue #3119710 by daffie, Kristen Pol: Remove lowercase table naming in...

Issue #3119710 by daffie, Kristen Pol: Remove lowercase table naming in NodeMigrateTypeTestTrait::getTableName()
parent 576652b6
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;