Skip to content

Commit 0b9923f

Browse files
committed
address copilot feedback
1 parent a9787c7 commit 0b9923f

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
@@ -69,14 +69,14 @@ Describe 'Tests for MCP server' {
6969
params = @{}
7070
}
7171

72-
$response = Send-McpRequest -request $mcpRequest
73-
74-
$response.id | Should -Be 2
75-
$response.result.tools.Count | Should -Be 2
7672
$tools = @{
7773
'list_dsc_resources' = $false
7874
'show_dsc_resource' = $false
7975
}
76+
77+
$response = Send-McpRequest -request $mcpRequest
78+
$response.id | Should -Be 2
79+
$response.result.tools.Count | Should -Be $tools.Count
8080
foreach ($tool in $response.result.tools) {
8181
$tools.ContainsKey($tool.name) | Should -Be $true
8282
$tools[$tool.name] = $true

0 commit comments

Comments
 (0)