Skip to content

Commit cb1e7b2

Browse files
committed
Fix up tests
1 parent 1bcdd24 commit cb1e7b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dsc/tests/dsc_mcp.tests.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,15 @@ Describe 'Tests for MCP server' {
237237
}
238238
}
239239

240-
It 'Calling list_dsc_functions with function_name filter works' {
240+
It 'Calling list_dsc_functions with function_list filter works' {
241241
$mcpRequest = @{
242242
jsonrpc = "2.0"
243243
id = 9
244244
method = "tools/call"
245245
params = @{
246246
name = "list_dsc_functions"
247247
arguments = @{
248-
function_name = "array"
248+
function_list = "array"
249249
}
250250
}
251251
}
@@ -265,7 +265,7 @@ Describe 'Tests for MCP server' {
265265
params = @{
266266
name = "list_dsc_functions"
267267
arguments = @{
268-
function_name = "*Array*"
268+
function_list = "*Array*"
269269
}
270270
}
271271
}
@@ -288,7 +288,7 @@ Describe 'Tests for MCP server' {
288288
params = @{
289289
name = "list_dsc_functions"
290290
arguments = @{
291-
function_name = "[invalid]"
291+
function_list = "[invalid]"
292292
}
293293
}
294294
}

0 commit comments

Comments
 (0)