diff --git a/test.sh b/test.sh index d205924..1574922 100755 --- a/test.sh +++ b/test.sh @@ -1,19 +1,4 @@ #!/bin/bash -curl -s --header "Accept: application/json" --header "Content-Type: application/json" \ - --request POST \ - --data '{ "type":"INDIVIDUAL","name":"Mon Tournoi", "shortName": "mon-tournoi", "startDate": "2023-05-10", "endDate": "2023-05-12", "country": "FR", "location": "Marseille", "online": false, "timeSystem": { "type": "fisher", "mainTime": "1200", "increment": "10" }, "pairing": { "type": "ROUNDROBIN" } }' \ - http://localhost:8080/api/tour - -curl -s --header "Accept: application/json" http://localhost:8080/api/tour - -curl -s --header "Accept: application/json" http://localhost:8080/api/tour/1 - -curl -s --header "Accept: application/json" --header "Content-Type: application/json" \ - --request POST \ - --data '{ "name": "Burma", "firstname": "Nestor", "rating": 1600, "rank": -2, "country": "FR", "club": "13Ma" }' \ - http://localhost:8080/api/tour/1/part - -curl -s --header "Accept: application/json" http://localhost:8080/api/tour/1/part - - +#mvn -Dorg.slf4j.simpleLogger.log.test=trace package verify +mvn package verify diff --git a/webapp/pom.xml b/webapp/pom.xml index 0508430..6a09c33 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -97,6 +97,11 @@ org.apache.maven.plugins maven-surefire-plugin + + + com.republicate:webapp-slf4j-logger + + @@ -169,6 +174,12 @@ 3.0 runtime + + org.slf4j + slf4j-simple + ${slf4j.version} + test +