Skip to content

Commit

Permalink
revert test change
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleLittleCloud committed Nov 26, 2024
1 parent 40c4a0d commit 100f893
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dotnet/test/Microsoft.AutoGen.Agents.Tests/AgentBaseTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public async Task ItInvokeRightHandlerTestAsync()
{
var mockContext = new Mock<IAgentRuntime>();
var agent = new TestAgent(mockContext.Object, new EventTypes(TypeRegistry.Empty, [], []), new Logger<AgentBase>(new LoggerFactory()));

await agent.HandleObject("hello world");
await agent.HandleObject(42);

Expand Down Expand Up @@ -56,7 +57,7 @@ await client.PublishMessageAsync(new TextMessage()
/// <summary>
/// The test agent is a simple agent that is used for testing purposes.
/// </summary>
public class TestAgent : AgentBase, IHandle<string>, IHandle<int>, IHandle<TextMessage>, IHandleConsole
public class TestAgent : AgentBase, IHandle<string>, IHandle<int>, IHandle<TextMessage>
{
public TestAgent(
IAgentRuntime context,
Expand Down

0 comments on commit 100f893

Please sign in to comment.