@@ -295,6 +295,9 @@ public function testInstallationWithDroppingTablesFromSecondaryModule()
295
295
*/
296
296
public function testInstallWithCodeBaseRollback ()
297
297
{
298
+ if ($ this ->isUsingAuroraDb ()) {
299
+ $ this ->markTestSkipped ('Test skipped in AWS Aurora ' );
300
+ }
298
301
//Move db_schema.xml file and tried to install
299
302
$ this ->moduleManager ->updateRevision (
300
303
'Magento_TestSetupDeclarationModule1 ' ,
@@ -306,7 +309,7 @@ public function testInstallWithCodeBaseRollback()
306
309
['Magento_TestSetupDeclarationModule1 ' ]
307
310
);
308
311
$ beforeRollback = $ this ->describeTable ->describeShard ('default ' );
309
- $ this -> assertTableCreationStatements ($ this ->getTrimmedData ()['before ' ], $ beforeRollback );
312
+ self :: assertEquals ($ this ->getTrimmedData ()['before ' ], $ beforeRollback );
310
313
//Move db_schema.xml file and tried to install
311
314
$ this ->moduleManager ->updateRevision (
312
315
'Magento_TestSetupDeclarationModule1 ' ,
@@ -317,7 +320,7 @@ public function testInstallWithCodeBaseRollback()
317
320
318
321
$ this ->cliCommand ->upgrade ();
319
322
$ afterRollback = $ this ->describeTable ->describeShard ('default ' );
320
- $ this -> assertTableCreationStatements ($ this ->getTrimmedData ()['after ' ], $ afterRollback );
323
+ self :: assertEquals ($ this ->getData ()['after ' ], $ afterRollback );
321
324
}
322
325
323
326
/**
@@ -345,7 +348,7 @@ public function testTableRename()
345
348
$ dataToMigrate
346
349
);
347
350
$ this ->isUsingAuroraDb () ?
348
- $ this ->assertStringContainsString ($ this -> getTrimmedData ()[ ' before ' ], $ before [ ' some_table ' ]) :
351
+ $ this ->assertStringContainsString ($ before [ ' some_table ' ], $ this -> getTrimmedData ()[ ' before ' ]) :
349
352
$ this ->assertEquals ($ this ->getData ()['before ' ], $ before ['some_table ' ]);
350
353
//Move db_schema.xml file and tried to install
351
354
$ this ->moduleManager ->updateRevision (
0 commit comments