Skip to content

Commit e907d17

Browse files
author
Colin Young
committed
Remove Console.Writeline 'debugging,' clean up test database when done
1 parent 744d14e commit e907d17

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/Serilog.Sinks.MSSqlServer.Tests/CustomStandardColumnNames.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public void TableCreatedWithCustomNames()
3939

4040
foreach (var column in options.Store.Values)
4141
{
42-
Console.WriteLine($"Testing {column}");
4342
infoSchemata.Should().Contain(columns => columns.ColumnName == column);
4443
}
4544
}

test/Serilog.Sinks.MSSqlServer.Tests/DatabaseFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private static void DeleteDatabase()
5151
conn.Open();
5252
var databases = conn.Query("select name from sys.databases");
5353

54-
//if (databases.Any(d => d.name == Database)) conn.Execute(DropLogEventsDatabase);
54+
if (databases.Any(d => d.name == Database)) conn.Execute(DropLogEventsDatabase);
5555
}
5656
}
5757

0 commit comments

Comments
 (0)