diff --git a/test/powershell/Update-TypeData.Tests.ps1 b/test/powershell/Update-TypeData.Tests.ps1 index eb30c0e29..f243b76d2 100644 --- a/test/powershell/Update-TypeData.Tests.ps1 +++ b/test/powershell/Update-TypeData.Tests.ps1 @@ -55,7 +55,7 @@ Describe "Update-TypeData basic functionality" -Tags DRT{ finally { Remove-TypeData -Path $testfile - Remove-Item $testfile -Force + Remove-Item $testfile -ErrorAction Ignore } } @@ -327,7 +327,7 @@ Describe "Update-TypeData basic functionality" -Tags DRT{ finally { Remove-TypeData -Path $testfile - Remove-Item $testfile -ErrorAction SilentlyContinue + Remove-Item $testfile -ErrorAction Ignore } } } \ No newline at end of file