Skip to content

Commit a42f46b

Browse files
committed
Fixing test
1 parent d63a860 commit a42f46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ModelContextProtocol.Tests/Configuration/McpServerBuilderExtensionsPromptsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public void Register_Prompts_From_Multiple_Sources()
218218
Assert.Contains(services.GetServices<McpServerPrompt>(), t => t.ProtocolPrompt.Name == nameof(MorePrompts.AnotherPrompt));
219219
}
220220

221-
[McpServerToolType]
221+
[McpServerPromptType]
222222
public sealed class SimplePrompts(ObjectWithId? id = null)
223223
{
224224
[McpServerPrompt, Description("Returns chat messages")]

0 commit comments

Comments
 (0)