Skip to content

Commit 11b1ecb

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
update schema tests
1 parent 43dec14 commit 11b1ecb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dsc/tests/dsc_schema.tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Describe 'config schema tests' {
77
$LASTEXITCODE | Should -Be 0
88
$schema | Should -Not -BeNullOrEmpty
99
$schema = $schema | ConvertFrom-Json
10-
$schema.'$schema' | Should -BeExactly 'http://json-schema.org/draft-07/schema#'
10+
$schema.'$schema' | Should -BeExactly 'https://json-schema.org/draft/2020-12/schema'
1111
}
1212

1313
It 'return dsc schema: <type>' -Skip:(!$IsWindows) -TestCases @(
@@ -26,14 +26,14 @@ Describe 'config schema tests' {
2626
$LASTEXITCODE | Should -Be 0
2727
$schema | Should -Not -BeNullOrEmpty
2828
$schema = $schema | ConvertFrom-Json
29-
$schema.'$schema' | Should -BeExactly 'http://json-schema.org/draft-07/schema#'
29+
$schema.'$schema' | Should -BeExactly 'https://json-schema.org/draft/2020-12/schema'
3030
}
3131

3232
It 'can accept the use of --output-format as a subcommand' {
3333
$schema = dsc resource schema -r Microsoft.DSC.Debug/Echo -o pretty-json
3434
$LASTEXITCODE | Should -Be 0
3535
$schema | Should -Not -BeNullOrEmpty
3636
$schema = $schema | ConvertFrom-Json
37-
$schema.'$schema' | Should -BeExactly 'http://json-schema.org/draft-07/schema#'
37+
$schema.'$schema' | Should -BeExactly 'https://json-schema.org/draft/2020-12/schema'
3838
}
3939
}

0 commit comments

Comments
 (0)