diff --git a/OpenBudgeteer.Core.Data/DbContextOptionsFactory.cs b/OpenBudgeteer.Core.Data/DbContextOptionsFactory.cs index 4bc66fe..1eb35a8 100644 --- a/OpenBudgeteer.Core.Data/DbContextOptionsFactory.cs +++ b/OpenBudgeteer.Core.Data/DbContextOptionsFactory.cs @@ -70,8 +70,6 @@ private static void SetupMariaDbConnection(DbContextOptionsBuilder optionsBuilde Password = configuration.GetValue(ConfigurationKeyConstants.CONNECTION_PASSWORD, userName), ConnectionProtocol = MySqlConnectionProtocol.Tcp }; - - Console.WriteLine(builder.ConnectionString); var serverVersion = ServerVersion.AutoDetect(builder.ConnectionString); optionsBuilder.UseMySql( diff --git a/OpenBudgeteer.Core.Test/Tests/Database/BaseDatabaseTest.cs b/OpenBudgeteer.Core.Test/Tests/Database/BaseDatabaseTest.cs index 4480885..62b74c3 100644 --- a/OpenBudgeteer.Core.Test/Tests/Database/BaseDatabaseTest.cs +++ b/OpenBudgeteer.Core.Test/Tests/Database/BaseDatabaseTest.cs @@ -28,6 +28,8 @@ protected static DbContextOptions MariaDbContextOptions [ConfigurationKeyConstants.CONNECTION_DATABASE] = Environment.GetEnvironmentVariable(ConfigurationKeyConstants.CONNECTION_DATABASE) ?? "openbudgeteer_unit_test", }!) .Build(); + + Console.WriteLine($"CHECK THIS: {configuration.GetValue(ConfigurationKeyConstants.CONNECTION_SERVER)}"); var contextOptions = DbContextOptionsFactory.GetContextOptions(configuration); var dbContext = new DatabaseContext(contextOptions); dbContext.Database.Migrate();