Skip to content

Commit

Permalink
use null
Browse files Browse the repository at this point in the history
  • Loading branch information
cynicaljoy committed Nov 13, 2024
1 parent 5696594 commit b0e1609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fauna.Test/Configuration.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void ConstructorWorksFine()
public void ConstructorWithSecretVar()
{
string? currentVal = Environment.GetEnvironmentVariable("FAUNA_ENDPOINT");
Environment.SetEnvironmentVariable("FAUNA_SECRET", "");
Environment.SetEnvironmentVariable("FAUNA_SECRET", null);

Configuration config = new Configuration { Secret = "secret" };
Assert.AreEqual("secret", config.Secret);
Expand Down

0 comments on commit b0e1609

Please sign in to comment.