Skip to content

Commit 73ee795

Browse files
committed
various hotfixes
1 parent 39e2bc9 commit 73ee795

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ for:
3737
- psql -c "CREATE USER sa WITH PASSWORD 'Password12!';" -U postgres
3838
- psql -c "ALTER USER sa WITH SUPERUSER;" -U postgres
3939
- ps: .\tests\appveyor.prep.ps1
40+
- docker-switch-linux
4041
- docker run --name dbops-oracle -d -p 1521:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g
4142

4243
- matrix:

functions/Get-DBOModuleFileList.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Get-DBOModuleFileList -Type Functions
3939
$obj.Name = $file.Name
4040
$obj
4141
}
42-
$slash = [IO.Path]::DirectorySeparatorChar
4342
$moduleCatalog = Get-Content (Join-PSFPath -Normalize (Get-Item $PSScriptRoot).Parent.FullName "internal\json\dbops.json") -Raw | ConvertFrom-Json
4443
foreach ($property in $moduleCatalog.psobject.properties.Name) {
4544
if (!$Type -or $property -in $Type) {

functions/Invoke-DBOQuery.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ function Invoke-DBOQuery {
107107
# Runs two scripts from the current folder using variables instead of specifying values directly
108108
'.\Script1.sql','.\Script2.sql' | Invoke-DBOQuery -SqlInstance '#{server}' -Database '#{db}' -Variables @{server = 'Srv1'; db = 'MyDb'}
109109
#>
110+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingWriteHost", "")]
110111
[CmdletBinding(SupportsShouldProcess, DefaultParameterSetName = 'Query')]
111112
param
112113
(

tests/postgresql/Install-DBOPackage.Tests.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ Describe "Install-DBOPackage PostgreSQL tests" -Tag $commandName, IntegrationTes
9595
{ $null = Install-DBOPackage $packageName @connParams -Database $newDbName -SchemaVersionTable $logTable -DeploymentMethod SingleTransaction } | Should throw 'relation "a" already exists'
9696
#Verifying objects
9797
$testResults = Invoke-DBOQuery @connParams -Database $newDbName -InputFile $verificationScript
98-
# Create table cannot be rolled back in PostgreSQL
9998
$logTable | Should -Not -BeIn $testResults.name
10099
'a' | Should -Not -BeIn $testResults.name
101100
'b' | Should -Not -BeIn $testResults.name

0 commit comments

Comments
 (0)