@@ -317,7 +317,7 @@ public function testInstallWithCodeBaseRollback()
317317
318318 $ this ->cliCommand ->upgrade ();
319319 $ afterRollback = $ this ->describeTable ->describeShard ('default ' );
320- $ this ->assertTableCreationStatements ($ this ->getData ()['after ' ], $ afterRollback );
320+ $ this ->assertTableCreationStatements ($ this ->getTrimmedData ()['after ' ], $ afterRollback );
321321 }
322322
323323 /**
@@ -345,7 +345,7 @@ public function testTableRename()
345345 $ dataToMigrate
346346 );
347347 $ this ->isUsingAuroraDb () ?
348- $ this ->assertStringContainsString ($ this ->getData ()['before ' ], $ before ['some_table ' ]) :
348+ $ this ->assertStringContainsString ($ this ->getTrimmedData ()['before ' ], $ before ['some_table ' ]) :
349349 $ this ->assertEquals ($ this ->getData ()['before ' ], $ before ['some_table ' ]);
350350 //Move db_schema.xml file and tried to install
351351 $ this ->moduleManager ->updateRevision (
@@ -358,7 +358,7 @@ public function testTableRename()
358358 $ this ->cliCommand ->upgrade ();
359359 $ after = $ this ->describeTable ->describeShard ('default ' );
360360 $ this ->isUsingAuroraDb () ?
361- $ this ->assertStringContainsString ($ this ->getData ()['after ' ], $ after ['some_table_renamed ' ]) :
361+ $ this ->assertStringContainsString ($ this ->getTrimmedData ()['after ' ], $ after ['some_table_renamed ' ]) :
362362 $ this ->assertEquals ($ this ->getData ()['after ' ], $ after ['some_table_renamed ' ]);
363363 $ select = $ adapter ->select ()
364364 ->from ($ this ->resourceConnection ->getTableName ('some_table_renamed ' ));
0 commit comments