Skip to content

Commit 6aa6c89

Browse files
committed
beforeach to enforce skips
1 parent 1afbcdc commit 6aa6c89

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/functional/Install-DBOPackage.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Describe "<type> Install-DBOPackage functional tests" -Tag FunctionalTests -ForE
7878
}
7979
}
8080
Context "testing rollback deployment" {
81-
BeforeAll {
81+
BeforeEach {
8282
if ($Type -in 'MySQL', 'Oracle') {
8383
Set-ItResult -Skipped -Because "CREATE TABLE cannot be rolled back in $Type"
8484
}

tests/functional/Install-DBOScript.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Describe "<type> Install-DBOScript functional tests" -Tag FunctionalTests -ForEa
8888
}
8989
}
9090
Context "testing rollback deployment" {
91-
BeforeAll {
91+
BeforeEach {
9292
if ($Type -in 'MySQL', 'Oracle') {
9393
Set-ItResult -Skipped -Because "CREATE TABLE cannot be rolled back in $Type"
9494
}

0 commit comments

Comments
 (0)