File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Describe 'Backup-StigSettings' {
11
11
Mock Invoke-DscResource - MockWith { return $get }
12
12
13
13
It ' Should not throw WindowsServer' {
14
- {Backup-StigSettings - StigName " WindowsServer-2019-MS-2.2 .xml" } | Should -not - Throw
14
+ {Backup-StigSettings - StigName " WindowsServer-2019-MS-2.4 .xml" } | Should -not - Throw
15
15
}
16
16
17
17
It ' Should not throw WindowsClient' {
@@ -39,15 +39,15 @@ Describe 'Restore-StigSettings' {
39
39
}
40
40
41
41
Mock - CommandName Invoke-DscResource - MockWith {return $get }
42
-
42
+
43
43
It ' Should not throw for Server' {
44
- {Restore-StigSettings - StigName " WindowsServer-2019-MS-2.2 .xml" - Confirm:$false } | Should -Not - Throw
44
+ {Restore-StigSettings - StigName " WindowsServer-2019-MS-2.4 .xml" - Confirm:$false } | Should -Not - Throw
45
45
}
46
46
47
47
It ' Should not throw for Client' {
48
48
{Restore-StigSettings - StigName " WindowsClient-10-2.2.xml" - Confirm:$false } | Should -Not - Throw
49
49
}
50
-
50
+
51
51
It ' Should not throw for Sql Server 2016' {
52
52
{Restore-StigSettings - StigName " SqlServer-2016-Instance-2.3.xml" - Confirm:$false } | Should -Not - Throw
53
53
}
You can’t perform that action at this time.
0 commit comments