Skip to content

Commit

Permalink
Update smoke tests script to use --base-url argument
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelle committed Jan 5, 2025
1 parent 06c9078 commit c62e6d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/smoke-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ function RunTests {
Write-Host "Testing $filename"
Copy-Item $filename ./openapi.$format
if ($version -eq "v3.1") {
Generate -format $format -output $_/$version/$format -args "--skip-validation --generate-intellij-tests --custom-header ""X-Custom-Header: 1234""" -production $Production
Generate -format $format -output $_/$version/$format -args "--skip-validation --generate-intellij-tests --custom-header ""X-Custom-Header: 1234"" --base-url https://api.example.io/" -production $Production
} else {
Generate -format $format -output $_/$version/$format -args "--generate-intellij-tests --custom-header ""X-Custom-Header: 1234""" -production $Production
Generate -format $format -output $_/$version/$format -args "--generate-intellij-tests --custom-header ""X-Custom-Header: 1234"" --base-url https://api.example.io/" -production $Production
}
}
}
Expand Down

0 comments on commit c62e6d9

Please sign in to comment.