From 7cc5ff771bbe69ab7472aa0f68c71497a7ae398f Mon Sep 17 00:00:00 2001 From: Giles Odigwe Date: Tue, 12 May 2026 10:02:56 -0700 Subject: [PATCH] Remove duplicate WebhookKey properties from merge Both our branch and main added WebhookKey to the Anthropic test mock classes, resulting in CS0102 duplicate definition errors. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../Extensions/AnthropicBetaServiceExtensionsTests.cs | 2 -- .../Extensions/AnthropicClientExtensionsTests.cs | 2 -- 2 files changed, 4 deletions(-) diff --git a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs index 71b5f0d282..9836ac8fcf 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs @@ -452,8 +452,6 @@ public sealed class AnthropicBetaServiceExtensionsTests public IBetaService Beta => this.BetaService; - public string? WebhookKey { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } - public IBetaService BetaService { get; } IMessageService IAnthropicClient.Messages => new Mock().Object; diff --git a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs index 5df057e8a7..2bff68a5c7 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs @@ -82,8 +82,6 @@ public sealed class AnthropicClientExtensionsTests public IBetaService Beta => throw new NotImplementedException(); - public string? WebhookKey { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } - public IAnthropicClient WithOptions(Func modifier) { throw new NotImplementedException();