Skip to content

Commit

Permalink
Merge pull request #4197 from andreaTP/fix-it
Browse files Browse the repository at this point in the history
Fix the Mock Server Integration Tests execution
  • Loading branch information
baywet authored Feb 19, 2024
2 parents 99f6482 + 419d9ba commit 389c765
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions it/exec-cmd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function Kill-MockServer {
Pop-Location
}

$mockSeverITFolder = $null
$mockSeverITFolder = "inexistent-it-folder"
$configPath = Join-Path -Path $PSScriptRoot -ChildPath "config.json"
$jsonValue = Get-Content -Path $configPath -Raw | ConvertFrom-Json
$descriptionValue = $jsonValue.psobject.properties.Where({ $_.name -eq $descriptionUrl }).value
Expand All @@ -63,10 +63,10 @@ if ($null -ne $descriptionValue) {
}
}

$mockServerTest = false
$mockServerTest = $false
$itTestPath = Join-Path -Path $testPath -ChildPath $mockSeverITFolder
if (Test-Path -Path $itTestPath) {
$mockServerTest = true
$mockServerTest = $true
}

# Start MockServer if needed
Expand Down

0 comments on commit 389c765

Please sign in to comment.