Skip to content

Commit 6f659db

Browse files
committed
script names have single slash direction
1 parent b57382d commit 6f659db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Install-DBOPackage.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ Describe "Install-DBOPackage integration tests" -Tag $commandName, IntegrationTe
681681
$testResults = Install-DBOPackage "$workFolder\pv1.zip" -SqlInstance $script:mssqlInstance -Credential $script:mssqlCredential -Database $newDbName -Silent
682682
$testResults.Successful | Should Be $true
683683
$absolutePath = Get-Item $v1scripts | ForEach-Object { Join-PSFPath 1.0 ($_.FullName -replace '^/|^\\|^\\\\|\.\\|\./|:', "") }
684-
$testResults.Scripts.Name | Should BeIn $absolutePath
684+
$testResults.Scripts.Name | Should BeIn ($absolutePath -replace '/', '\')
685685
$testResults.SqlInstance | Should Be $script:mssqlInstance
686686
$testResults.Database | Should Be $newDbName
687687
$testResults.SourcePath | Should Be (Join-PSFPath -Normalize "$workFolder\pv1.zip")

0 commit comments

Comments
 (0)