Skip to content

Commit

Permalink
more config key adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
rofr committed Apr 17, 2018
1 parent 7984eb6 commit ffaef03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Memstate.Postgresql.Tests/PostgresqlSettingsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ public void DatabaseOverridesConnectionString()
public void PasswordFromArgumentsOverridesConnectionString()
{
var expected = Guid.NewGuid().ToString();
var settings = new MemstateSettings("--Memstate:StorageProviders:Postgresql:Password", expected);
var settings = new MemstateSettings("--Memstate:StorageProviders:Postgres:Password", expected);
var pgSettings = new PostgresqlSettings(settings);
Assert.Equal(expected, pgSettings.Password);
}

[Fact(Skip="Interferes with same ENV var on appveyor!")]
public void PasswordFromEnvironmentVariableOverridesConnectionString()
{
string key = "Memstate:StorageProviders:Postgresql:Password";
string key = "Memstate:StorageProviders:Postgres:Password";
var expected = Guid.NewGuid().ToString();
Environment.SetEnvironmentVariable(key, expected);
var settings = new MemstateSettings();
Expand Down

0 comments on commit ffaef03

Please sign in to comment.