diff --git a/source/Kagi.Tests/KagiServiceTests.cs b/source/Kagi.Tests/KagiServiceTests.cs index 485be22..8ae0c7d 100644 --- a/source/Kagi.Tests/KagiServiceTests.cs +++ b/source/Kagi.Tests/KagiServiceTests.cs @@ -21,11 +21,10 @@ public sealed partial class KagiServiceTests [TestInitialize] public void Initialize() { - var clientApiKey = "AgCA7gnvCwc.-SVgHlK0ITk8-2vJRtkNyT-NMm5REOSPpIAskwoE7Gc"; - this.kagi = new KagiService( - clientApiKey); + Environment.GetEnvironmentVariable( + "KAGI_API_KEY")); } } }