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
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment