1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

Make postgres integration tests actually use postgres

This commit is contained in:
ta264
2022-04-05 21:42:28 +01:00
committed by Qstick
parent a95f8fa873
commit d58f0806f6
2 changed files with 4 additions and 7 deletions
@@ -14,11 +14,11 @@ namespace NzbDrone.Core.Datastore
public static PostgresOptions GetOptions()
{
var config = new ConfigurationBuilder()
.AddEnvironmentVariables("Radarr__")
.AddEnvironmentVariables()
.Build();
var postgresOptions = new PostgresOptions();
config.GetSection("Postgres").Bind(postgresOptions);
config.GetSection("Radarr:Postgres").Bind(postgresOptions);
return postgresOptions;
}