Skip to content

Commit 53e5c6b

Browse files
author
Dale Sikkema
committed
MAGETWO-37848: Generate data fails when table prefix exceeds length of 5
- delete a space character
1 parent 98d99a8 commit 53e5c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/DB/Test/Unit/ExpressionConverterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testShortenEntityNameReducedHash()
5151
/** Length of 64 characters, to go over max MySql identifier length */
5252
$length64 = '________________________________________________________________';
5353
$longPrefix = 'pre_____________________________________';
54-
$shortenedName = ExpressionConverter::shortenEntityName($length64 . '_cannotBeAbbreviated', $longPrefix );
54+
$shortenedName = ExpressionConverter::shortenEntityName($length64 . '_cannotBeAbbreviated', $longPrefix);
5555
$this->assertNotSame(0, strpos($shortenedName, 'pre'), 'Entity name not supposed to with long prefix');
5656
}
5757
}

0 commit comments

Comments
 (0)