From 6cab009b3ae87d6dabb217e3a0ad392dbbab919a Mon Sep 17 00:00:00 2001 From: m0veax Date: Sat, 29 Jun 2024 00:45:21 +0200 Subject: [PATCH] test script failes on purpose --- scripts/open_aerie.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/open_aerie.sh b/scripts/open_aerie.sh index 050b54c..3123526 100644 --- a/scripts/open_aerie.sh +++ b/scripts/open_aerie.sh @@ -3,7 +3,7 @@ ## starte server mit env vars passend zum ersten aufruf ## TODO das muss noch gescripted werden -# should return 201 +# should return 201 if env vars are set like this payload states curl -XPOST \ -H "Content-Type: application/json" \ --data '{"consumer_key": "test123","consumer_secret":"123test","aerie":true }' \ @@ -12,5 +12,5 @@ curl -XPOST \ #should return 500 curl -XPOST \ -H "Content-Type: application/json" \ - --data '{"consumer_key": "test123","consumer_secret":"123test","aerie":true }' \ + --data '{"consumer_key": "foo","consumer_secret":"bar","aerie":true }' \ http://localhost:3000/api/update -vvv \ No newline at end of file