From eac8c4094f93bbd50e9eb29084ca001eee820b0b Mon Sep 17 00:00:00 2001 From: Don Ho Date: Wed, 7 Jul 2021 15:20:16 +0200 Subject: [PATCH] Override unit-tests needed files while copying them for local unit-tests script --- PowerEditor/Test/FunctionList/localUnitestLauncher.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PowerEditor/Test/FunctionList/localUnitestLauncher.ps1 b/PowerEditor/Test/FunctionList/localUnitestLauncher.ps1 index 3318208a5..8a68fd04b 100644 --- a/PowerEditor/Test/FunctionList/localUnitestLauncher.ps1 +++ b/PowerEditor/Test/FunctionList/localUnitestLauncher.ps1 @@ -1,8 +1,8 @@ $testRoot = ".\" $PowerEditor = "$testRoot\..\..\" -Copy-Item "$PowerEditor\installer\functionList" -Destination "$PowerEditor\bin" -Recurse -Copy-Item "$PowerEditor\installer\filesForTesting\regexGlobalTest.xml" -Destination "$PowerEditor\bin\functionList" -Copy-Item "$PowerEditor\installer\filesForTesting\overrideMap.xml" -Destination "$PowerEditor\bin\functionList" +Copy-Item "$PowerEditor\installer\functionList" -Destination "$PowerEditor\bin" -Recurse -Force +Copy-Item "$PowerEditor\installer\filesForTesting\regexGlobalTest.xml" -Destination "$PowerEditor\bin\functionList" -Force +Copy-Item "$PowerEditor\installer\filesForTesting\overrideMap.xml" -Destination "$PowerEditor\bin\functionList" -Force & ".\unitTestLauncher.ps1" \ No newline at end of file