Fix OrderSequenceGenerationTest

This commit is contained in:
Christian Beikov 2022-11-26 13:44:19 +01:00
parent dd50e1e28e
commit 82e42ef946
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class OrderSequenceGenerationTest extends BaseEnversJPAFunctionalTestCase
final String content = new String( Files.readAllBytes( createSchema.toPath() ) ).toLowerCase(); final String content = new String( Files.readAllBytes( createSchema.toPath() ) ).toLowerCase();
for ( int i = 0; i < createStrings.length; ++i ) { for ( int i = 0; i < createStrings.length; ++i ) {
if ( getDialect() instanceof OracleDialect ) { if ( getDialect() instanceof OracleDialect ) {
assertTrue( content.contains( ( createStrings[ i ] + " ORDER" ).toLowerCase() ) ); assertTrue( content.contains( ( createStrings[ i ] + " NOCACHE ORDER" ).toLowerCase() ) );
} }
else { else {
assertTrue( content.contains( createStrings[ i ].toLowerCase() ) ); assertTrue( content.contains( createStrings[ i ].toLowerCase() ) );