Skip to content

Commit

Permalink
Fix ci wrong test & add failing URL in script logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hdurix committed Apr 8, 2022
1 parent e6822d6 commit 0ab3664
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests-ci/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ callApi() {
"http://localhost:7471""$api")

if [[ $status_code == '40'* || $status_code == '50'* ]]; then
echo "Error when calling API:" "$status_code"
echo "Error when calling API:" "$status_code" "$api"
exit 1
fi;
}
Expand Down Expand Up @@ -182,8 +182,8 @@ elif [[ $application == 'angularapp' ]]; then
callApi "/api/developer-tools/frontend-maven-plugin"
callApi "/api/clients/angular"

callApi "/api/servers/spring-boot/mvc/security/jwt"
callApi "/api/servers/spring-boot/mvc/security/jwt/basic-auth"
callApi "/api/servers/spring-boot/security-systems/jwt"
callApi "/api/servers/spring-boot/security-systems/jwt/basic-auth"
callApi "/api/clients/angular/jwt"

elif [[ $application == 'reactapp' ]]; then
Expand Down

0 comments on commit 0ab3664

Please sign in to comment.