mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Add test for subscriptions.
This commit is contained in:
parent
f19f2b4c9a
commit
7470554973
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ curl "${CURLOPTS[@]}" $HOST/import -X POST -H "Content-Type: application/json" -
|
||||||
# Wait 2s to allow the subscription request to be processed
|
# Wait 2s to allow the subscription request to be processed
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
|
# Check Subscriptions
|
||||||
|
curl "${CURLOPTS[@]}" $HOST/subscriptions -H "Authorization: $AUTH_TOKEN" || exit 1
|
||||||
|
|
||||||
# Check Feed
|
# Check Feed
|
||||||
curl "${CURLOPTS[@]}" $HOST/feed -G --data-urlencode "authToken=$AUTH_TOKEN" || exit 1
|
curl "${CURLOPTS[@]}" $HOST/feed -G --data-urlencode "authToken=$AUTH_TOKEN" || exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue