diff --git a/test_docker_compose.sh b/test_docker_compose.sh index b524ce6545114784d105567054cd854c5df516c5..065e9633f738282b499bd295a8db824ec8c6efd2 100755 --- a/test_docker_compose.sh +++ b/test_docker_compose.sh @@ -54,11 +54,11 @@ curl --location --request POST 'http://0.0.0.0:8080/api/projects' \ --header 'Accept: text/html' \ --header 'Content-Type: application/json' \ --data-raw '{"phenotypeID": ["z_MAGIC_FAST-GLUCOSE", "z_MAGIC_FAST-INSULIN"]}' \ - -o log/03-post-phenotypes.json \ - 1> log/03-post-phenotypes.log \ - 2> log/03-post-phenotypes.err + -o log/03-post-project.json \ + 1> log/03-post-project.log \ + 2> log/03-post-project.err -PROJECT_ID=$(jq .id log/03-post-phenotypes.json | sed 's/\"//g') +PROJECT_ID=$(jq .id log/03-post-project.json | sed 's/\"//g') if [ ! -d "projects/project_$PROJECT_ID" ]; then exit 03 fi