From 7084515be9b4b12e434fc69bf3160991e6b1c154 Mon Sep 17 00:00:00 2001 From: Chrissy LeMaire Date: Tue, 15 Oct 2024 16:25:53 +0200 Subject: [PATCH] fix appveyor.pester.ps1 (do Add-DbaAgDatabase) --- tests/appveyor.pester.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/appveyor.pester.ps1 b/tests/appveyor.pester.ps1 index 5533887f7a..5794ce7a46 100644 --- a/tests/appveyor.pester.ps1 +++ b/tests/appveyor.pester.ps1 @@ -209,9 +209,9 @@ if (-not $Finalize) { Add-AppveyorTest -Name $appvTestName -Framework NUnit -FileName $f.FullName -Outcome Running # Create a Pester configuration - $PesterConfiguration = [Pester.Configuration]::Default.Clone() + $PesterConfiguration = New-PesterConfiguration -Full $PesterConfiguration.Run.Path = $f.FullName - $PesterConfiguration.Run.OutputVerbosity = 'None' + $PesterConfiguration.Run.Output.Verbosity = 'None' $PesterConfiguration.Output.Verbosity = 'None' $PesterConfiguration.Run.PassThru = $true