test script failes on purpose
This commit is contained in:
parent
41c111569d
commit
6cab009b3a
@ -3,7 +3,7 @@
|
|||||||
## starte server mit env vars passend zum ersten aufruf
|
## starte server mit env vars passend zum ersten aufruf
|
||||||
## TODO das muss noch gescripted werden
|
## TODO das muss noch gescripted werden
|
||||||
|
|
||||||
# should return 201
|
# should return 201 if env vars are set like this payload states
|
||||||
curl -XPOST \
|
curl -XPOST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
--data '{"consumer_key": "test123","consumer_secret":"123test","aerie":true }' \
|
--data '{"consumer_key": "test123","consumer_secret":"123test","aerie":true }' \
|
||||||
@ -12,5 +12,5 @@ curl -XPOST \
|
|||||||
#should return 500
|
#should return 500
|
||||||
curl -XPOST \
|
curl -XPOST \
|
||||||
-H "Content-Type: application/json" \
|
-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
|
http://localhost:3000/api/update -vvv
|
Loading…
Reference in New Issue
Block a user