From c2167c34e368efa91acd5faa5dd8ab2f4abdf7ec Mon Sep 17 00:00:00 2001 From: Jacob Alber Date: Wed, 13 May 2026 13:45:35 -0400 Subject: [PATCH] remove unneeded keyProvider requirement test Co-authored-by: lokitoth <6936551+lokitoth@users.noreply.github.com> --- .../IsolationKeyScopedAgentSessionStoreTests.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs b/dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs index 18fe3095e3..d410543608 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs @@ -53,17 +53,6 @@ public class IsolationKeyScopedAgentSessionStoreTests new IsolationKeyScopedAgentSessionStore(null!, provider)); } - /// - /// Verify that constructor throws ArgumentNullException when keyProvider is null. - /// - [Fact] - public void RequiresKeyProvider() - { - // Act & Assert - Assert.Throws("keyProvider", () => - new IsolationKeyScopedAgentSessionStore(this._innerStoreMock.Object, null!)); - } - /// /// Verify that constructor uses default options when options is null. ///