From 198d8db43467f1df7be57aac90b7c3563c118e04 Mon Sep 17 00:00:00 2001 From: Roman Shvets Date: Wed, 27 Oct 2021 13:23:56 +0300 Subject: [PATCH] Fixed tests --- Automation/Pester/Test-SDLHeaders.Tests.ps1 | 2 +- Automation/Publish-Module.ps1 | 6 +++--- Source/Modules/ISHServer/Get-ISHPrerequisites.ps1 | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Automation/Pester/Test-SDLHeaders.Tests.ps1 b/Automation/Pester/Test-SDLHeaders.Tests.ps1 index f237ce3..90e057f 100644 --- a/Automation/Pester/Test-SDLHeaders.Tests.ps1 +++ b/Automation/Pester/Test-SDLHeaders.Tests.ps1 @@ -17,7 +17,7 @@ $repositoryPath=Resolve-Path "$PSScriptRoot\..\.." $modulePath=Resolve-Path "$repositoryPath\Tools\Modules" -Import-Module "$modulePath\SDLDevTools" -Force +Import-Module "$modulePath\SDLDevTools\0.3\SDLDevTools.psm1" -Force $reportToValidate=@() Test-SDLOpenSourceHeader -ExcludeFolder ".git" -FolderPath $repositoryPath -PassThru | ForEach-Object { diff --git a/Automation/Publish-Module.ps1 b/Automation/Publish-Module.ps1 index 66a1a85..2e14e91 100644 --- a/Automation/Publish-Module.ps1 +++ b/Automation/Publish-Module.ps1 @@ -1,12 +1,12 @@ <# # Copyright (c) 2021 All Rights Reserved by the RWS Group. -# +# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/Source/Modules/ISHServer/Get-ISHPrerequisites.ps1 b/Source/Modules/ISHServer/Get-ISHPrerequisites.ps1 index 13d4686..caeac3b 100644 --- a/Source/Modules/ISHServer/Get-ISHPrerequisites.ps1 +++ b/Source/Modules/ISHServer/Get-ISHPrerequisites.ps1 @@ -1,12 +1,12 @@ <# # Copyright (c) 2021 All Rights Reserved by the RWS Group. -# +# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.