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 {