diff --git a/tst/functions/New-Fixture.ts.ps1 b/tst/functions/New-Fixture.ts.ps1 index f0b424504..ea40dceec 100644 --- a/tst/functions/New-Fixture.ts.ps1 +++ b/tst/functions/New-Fixture.ts.ps1 @@ -29,7 +29,7 @@ i -PassThru:$PassThru { try { New-Fixture -Path $tempFolder -Name $name - $r = Invoke-Pester -Path $testsPath -PassThru + $r = Invoke-Pester -Path $testsPath -PassThru -Output None $r.Containers[0].Blocks[0].Tests[0].Result | Verify-Equal "Failed" $r.Containers[0].Blocks[0].Tests[0].ErrorRecord.Exception | Verify-Type ([System.NotImplementedException]) }