From 6047758a8ef61a861377a46e099ac06d2f4fcc68 Mon Sep 17 00:00:00 2001 From: Simone Bizzotto Date: Tue, 22 Oct 2024 00:27:47 +0200 Subject: [PATCH] yet another pester5 small difference --- 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 fbff87e38f..038cd00a01 100644 --- a/tests/appveyor.pester.ps1 +++ b/tests/appveyor.pester.ps1 @@ -277,9 +277,9 @@ if (-not $Finalize) { $outcome = "Passed" if ($PesterRun.FailedCount -gt 0) { $trialno += 1 - Update-AppveyorTest -Name $appvTestName -Framework NUnit -FileName $f.FullName -Outcome "Failed" -Duration $PesterRun.Time.TotalMilliseconds + Update-AppveyorTest -Name $appvTestName -Framework NUnit -FileName $f.FullName -Outcome "Failed" -Duration $PesterRun.Duration.TotalMilliseconds } else { - Update-AppveyorTest -Name $appvTestName -Framework NUnit -FileName $f.FullName -Outcome "Passed" -Duration $PesterRun.Time.TotalMilliseconds + Update-AppveyorTest -Name $appvTestName -Framework NUnit -FileName $f.FullName -Outcome "Passed" -Duration $PesterRun.Duration.TotalMilliseconds break } }