@@ -48,11 +48,11 @@ public void TestMigrateUsesDdlBatch()
4848 var formattedVersion = $ "{ version . Major } .{ version . Minor } .{ version . Build } ";
4949 _fixture . SpannerMock . AddOrUpdateStatementResult ( "SELECT 1" , StatementResult . CreateException ( MockSpannerService . CreateDatabaseNotFoundException ( "d1" ) ) ) ;
5050 _fixture . SpannerMock . AddOrUpdateStatementResult (
51- $ "INSERT INTO `EFMigrationsHistory` (`MigrationId`, `ProductVersion`)\n VALUES ('''20210309110233_Initial''', '''{ formattedVersion } ''')",
51+ $ "INSERT INTO `EFMigrationsHistory` (`MigrationId`, `ProductVersion`){ Environment . NewLine } VALUES ('''20210309110233_Initial''', '''{ formattedVersion } ''')",
5252 StatementResult . CreateUpdateCount ( 1 )
5353 ) ;
5454 _fixture . SpannerMock . AddOrUpdateStatementResult (
55- $ "INSERT INTO `EFMigrationsHistory` (`MigrationId`, `ProductVersion`)\n VALUES ('''20210830_V2''', '''{ formattedVersion } ''')",
55+ $ "INSERT INTO `EFMigrationsHistory` (`MigrationId`, `ProductVersion`){ Environment . NewLine } VALUES ('''20210830_V2''', '''{ formattedVersion } ''')",
5656 StatementResult . CreateUpdateCount ( 1 )
5757 ) ;
5858 using var db = new MockMigrationSampleDbContext ( ConnectionString ) ;
@@ -128,7 +128,7 @@ public async Task TestStartMigrateAsync()
128128 new object [ ] { "20210309110233_Initial" , formattedVersion } ,
129129 } ) ) ;
130130 _fixture . SpannerMock . AddOrUpdateStatementResult (
131- $ "INSERT INTO `EFMigrationsHistory` (`MigrationId`, `ProductVersion`)\n VALUES ('''20210830_V2''', '''{ formattedVersion } ''')",
131+ $ "INSERT INTO `EFMigrationsHistory` (`MigrationId`, `ProductVersion`){ Environment . NewLine } VALUES ('''20210830_V2''', '''{ formattedVersion } ''')",
132132 StatementResult . CreateUpdateCount ( 1 )
133133 ) ;
134134 await using var db = new MockMigrationSampleDbContext ( ConnectionString ) ;
0 commit comments