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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user