diff --git a/test/powershell/Import-Csv.Tests.ps1 b/test/powershell/Import-Csv.Tests.ps1 index e9422ad66..b7821eaef 100644 --- a/test/powershell/Import-Csv.Tests.ps1 +++ b/test/powershell/Import-Csv.Tests.ps1 @@ -51,9 +51,10 @@ Describe "Import-Csv" { } Describe "Import-Csv DRT Unit Tests" -Tags DRT { - - $fileToGenerate = Join-Path $TestDrive -ChildPath "importCSVTest.csv" - $psObject = [pscustomobject]@{ "First" = "1"; "Second" = "2" } + BeforeAll { + $fileToGenerate = Join-Path $TestDrive -ChildPath "importCSVTest.csv" + $psObject = [pscustomobject]@{ "First" = "1"; "Second" = "2" } + } It "Test import-csv with a delimiter parameter" { $delimiter = ';'