@@ -317,7 +317,7 @@ public function testInstallWithCodeBaseRollback()
317
317
318
318
$ this ->cliCommand ->upgrade ();
319
319
$ afterRollback = $ this ->describeTable ->describeShard ('default ' );
320
- $ this ->assertTableCreationStatements ($ this ->getData ()['after ' ], $ afterRollback );
320
+ $ this ->assertTableCreationStatements ($ this ->getTrimmedData ()['after ' ], $ afterRollback );
321
321
}
322
322
323
323
/**
@@ -345,7 +345,7 @@ public function testTableRename()
345
345
$ dataToMigrate
346
346
);
347
347
$ this ->isUsingAuroraDb () ?
348
- $ this ->assertStringContainsString ($ this ->getData ()['before ' ], $ before ['some_table ' ]) :
348
+ $ this ->assertStringContainsString ($ this ->getTrimmedData ()['before ' ], $ before ['some_table ' ]) :
349
349
$ this ->assertEquals ($ this ->getData ()['before ' ], $ before ['some_table ' ]);
350
350
//Move db_schema.xml file and tried to install
351
351
$ this ->moduleManager ->updateRevision (
@@ -358,7 +358,7 @@ public function testTableRename()
358
358
$ this ->cliCommand ->upgrade ();
359
359
$ after = $ this ->describeTable ->describeShard ('default ' );
360
360
$ this ->isUsingAuroraDb () ?
361
- $ this ->assertStringContainsString ($ this ->getData ()['after ' ], $ after ['some_table_renamed ' ]) :
361
+ $ this ->assertStringContainsString ($ this ->getTrimmedData ()['after ' ], $ after ['some_table_renamed ' ]) :
362
362
$ this ->assertEquals ($ this ->getData ()['after ' ], $ after ['some_table_renamed ' ]);
363
363
$ select = $ adapter ->select ()
364
364
->from ($ this ->resourceConnection ->getTableName ('some_table_renamed ' ));
0 commit comments