From b0e1609f569b565e10a7150eb1ffa1735e53dc1a Mon Sep 17 00:00:00 2001 From: Darren Cunningham Date: Wed, 13 Nov 2024 14:21:22 -0500 Subject: [PATCH] use null --- Fauna.Test/Configuration.Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fauna.Test/Configuration.Tests.cs b/Fauna.Test/Configuration.Tests.cs index f0701089..53d5c8fa 100644 --- a/Fauna.Test/Configuration.Tests.cs +++ b/Fauna.Test/Configuration.Tests.cs @@ -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);