Skip to content

Commit bab9bd7

Browse files
Add StopAtLsn to parameter validation tests
(do *Restore*) Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
1 parent 56bf8d7 commit bab9bd7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Invoke-DbaAdvancedRestore.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Describe $CommandName -Tag UnitTests {
3434
"StopAfterDate",
3535
"Checksum",
3636
"Restart",
37+
"StopAtLsn",
3738
"EnableException"
3839
)
3940
Compare-Object -ReferenceObject $expectedParameters -DifferenceObject $hasParameters | Should -BeNullOrEmpty

tests/Restore-DbaDatabase.Tests.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ Describe $CommandName -Tag UnitTests {
6363
"ExecuteAs",
6464
"Checksum",
6565
"Restart",
66-
"NoXpDirRecurse"
66+
"NoXpDirRecurse",
67+
"StopAtLsn"
6768
)
6869
Compare-Object -ReferenceObject $expectedParameters -DifferenceObject $hasParameters | Should -BeNullOrEmpty
6970
}

0 commit comments

Comments
 (0)