You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Unit/Public/New-SqlDscDatabaseSnapshot.Tests.ps1
-15Lines changed: 0 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,6 @@
1
1
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments','', Justification ='Suppressing this rule because Script Analyzer does not understand Pester syntax.')]
2
2
param ()
3
3
4
-
<#
5
-
TODO: This fails with:
6
-
7
-
Running tests from 'D:\a\1\s\tests\Unit\Public\New-SqlDscDatabaseSnapshot.Tests.ps1'
8
-
Describing New-SqlDscDatabaseSnapshot
9
-
Context When creating a database snapshot using ServerObject parameter set
10
-
##[error] [-] Should create a database snapshot successfully with minimal parameters 28ms (25ms|3ms)
11
-
##[error] PSInvalidCastException: Cannot convert the "DatabaseFileSpec" value of type "DatabaseFileSpec" to type "DatabaseFileSpec".
12
-
##[error] ArgumentTransformationMetadataException: Cannot convert the "DatabaseFileSpec" value of type "DatabaseFileSpec" to type "DatabaseFileSpec".
13
-
##[error] ParameterBindingArgumentTransformationException: Cannot process argument transformation on parameter 'Files'. Cannot convert the "DatabaseFileSpec" value of type "DatabaseFileSpec" to type "DatabaseFileSpec".
14
-
##[error] at New-SqlDscDatabaseSnapshot<Process>, D:\a\1\s\output\builtModule\SqlServerDsc\17.4.0\SqlServerDsc.psm1:20649
15
-
##[error] at <ScriptBlock>, D:\a\1\s\tests\Unit\Public\New-SqlDscDatabaseSnapshot.Tests.ps1:137
0 commit comments