diff options
Diffstat (limited to 'tests/api/folders.bats')
-rw-r--r-- | tests/api/folders.bats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/api/folders.bats b/tests/api/folders.bats index 710b7d2a3..111b69867 100644 --- a/tests/api/folders.bats +++ b/tests/api/folders.bats @@ -17,13 +17,13 @@ teardown() { # delete all feeds FEED_IDS=($(http --ignore-stdin -b -a ${user}:${user} GET ${BASE_URLv1}/feeds | grep -Po '"id":\K([0-9]+)' | tr '\n' ' ')) for i in $FEED_IDS; do - http --ignore-stdin -b -a ${user}:${user} DELETE ${BASE_URLv1}/feeds/$i + http --ignore-stdin -b -a ${user}:${user} DELETE ${BASE_URLv1}/feeds/$i > /dev/null done # delete all folders FOLDER_IDS=($(http --ignore-stdin -b -a ${user}:${user} GET ${BASE_URLv1}/folders | grep -Po '"id":\K([0-9]+)' | tr '\n' ' ')) for i in $FOLDER_IDS; do - http --ignore-stdin -b -a ${user}:${user} DELETE ${BASE_URLv1}/folders/$i + http --ignore-stdin -b -a ${user}:${user} DELETE ${BASE_URLv1}/folders/$i > /dev/null done } |