From b9b81e9e44a6e9d3c11ef1165b31993fa949ee19 Mon Sep 17 00:00:00 2001 From: Andreas Jordan Date: Sun, 20 Oct 2024 14:31:05 +0200 Subject: [PATCH] use Write-Host (do Get-DbaEstimatedCompletionTime) --- tests/Get-DbaEstimatedCompletionTime.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Get-DbaEstimatedCompletionTime.Tests.ps1 b/tests/Get-DbaEstimatedCompletionTime.Tests.ps1 index 266f55fc84..57409b1ccd 100644 --- a/tests/Get-DbaEstimatedCompletionTime.Tests.ps1 +++ b/tests/Get-DbaEstimatedCompletionTime.Tests.ps1 @@ -27,7 +27,7 @@ Describe "$commandname Integration Tests" -Tags "IntegrationTests" { $null = New-DbaAgentJobStep -SqlInstance $script:instance2 -Job checkdbTestJob -StepName checkdb -Subsystem TransactSql -Command "DBCC CHECKDB('checkdbTestDatabase')" -EnableException $skip = $false } catch { - Write-Information "Test for $commandname failed in BeforeAll because: $_" + Write-Host -Object "Test for $CommandName failed in BeforeAll because: $_" -ForegroundColor Cyan } } }