summaryrefslogtreecommitdiffstats
path: root/tests/api/items.bats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2022-08-21 16:38:40 +0200
committerGitHub <noreply@github.com>2022-08-21 16:38:40 +0200
commit49f79101c314f760f36d1e6ef49758069622812c (patch)
treed509587880f83af7d45fd6f8c4e6e4f547a95e89 /tests/api/items.bats
parentb1cbf80933658742c7794614b714fe6782441920 (diff)
try to speedup the api testing by hosting the feeds locally (#1874)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'tests/api/items.bats')
-rw-r--r--tests/api/items.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/api/items.bats b/tests/api/items.bats
index 349678966..edad6f4db 100644
--- a/tests/api/items.bats
+++ b/tests/api/items.bats
@@ -16,13 +16,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
}