From 755741a6d938b384687bdeb6cc8a887bfe58c436 Mon Sep 17 00:00:00 2001 From: Jon M Date: Thu, 1 Aug 2024 11:28:15 +0100 Subject: [PATCH] Update base URL for 'Unauthorized' test --- 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 a35404a..79a28f8 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")) + using (var client = new MailosaurClient("invalid_key", Environment.GetEnvironmentVariable("MAILOSAUR_API_KEY"))) { var ex = Assert.Throws(delegate {