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
# Database should be online and in standby/read-only state
622
618
$restoredDb.Status| Should -Be ([Microsoft.SqlServer.Management.Smo.DatabaseStatus]::Normal -bor [Microsoft.SqlServer.Management.Smo.DatabaseStatus]::Standby) -Because 'Database should be online in standby mode'
623
-
$restoredDb.IsReadOnly| Should -BeTrue -Because 'Database should be read-only in standby mode'
619
+
$restoredDb.ReadOnly| Should -BeTrue -Because 'Database should be read-only in standby mode'
624
620
625
621
# Verify standby file exists and has content
626
622
Test-Path-Path $script:standbyFile| Should -BeTrue -Because 'Standby undo file should exist'
0 commit comments