From 4fafc04ff0abc1334d214f1a83311a7a66caae70 Mon Sep 17 00:00:00 2001 From: Jon M Date: Thu, 1 Aug 2024 11:31:51 +0100 Subject: [PATCH] Fix env var name --- Mailosaur.Test/ErrorsTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailosaur.Test/ErrorsTests.cs b/Mailosaur.Test/ErrorsTests.cs index 79a28f8..863d540 100644 --- a/Mailosaur.Test/ErrorsTests.cs +++ b/Mailosaur.Test/ErrorsTests.cs @@ -9,7 +9,7 @@ public class ErrorsTests [Fact] public void UnauthorizedTest() { - using (var client = new MailosaurClient("invalid_key", Environment.GetEnvironmentVariable("MAILOSAUR_API_KEY"))) + using (var client = new MailosaurClient("invalid_key", Environment.GetEnvironmentVariable("MAILOSAUR_BASE_URL"))) { var ex = Assert.Throws(delegate {