File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,17 +104,17 @@ Describe 'Test-SqlDscBackupFile' -Tag 'Public' {
104104
105105 It ' Should have mandatory ServerObject parameter' {
106106 $result = (Get-Command - Name ' Test-SqlDscBackupFile' ).Parameters[' ServerObject' ]
107- $result.Attributes.Mandatory | Should - Contain $true
107+ $result.Attributes.Mandatory | Should - BeTrue
108108 }
109109
110110 It ' Should have mandatory BackupFile parameter' {
111111 $result = (Get-Command - Name ' Test-SqlDscBackupFile' ).Parameters[' BackupFile' ]
112- $result.Attributes.Mandatory | Should - Contain $true
112+ $result.Attributes.Mandatory | Should - BeTrue
113113 }
114114
115115 It ' Should have optional FileNumber parameter' {
116116 $result = (Get-Command - Name ' Test-SqlDscBackupFile' ).Parameters[' FileNumber' ]
117- $result.Attributes.Mandatory | Should -Not - Contain $true
117+ $result.Attributes.Mandatory | Should - BeFalse
118118 }
119119
120120 It ' Should output Boolean type' {
You can’t perform that action at this time.
0 commit comments