Skip to content

Commit

Permalink
disable useNextUpdateTime for test
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
  • Loading branch information
Grotax committed Dec 29, 2024
1 parent 45a36e0 commit bad390d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/updater/update.bats
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ teardown() {
for i in $FOLDER_IDS; do
http --ignore-stdin -b -a ${user}:${APP_PASSWORD} DELETE ${BASE_URLv1}/folders/$i > /dev/null
done

# set useNextUpdateTime to true
./occ config:app:set news useNextUpdateTime --value=true
}

@test "[$TESTSUITE] Test simple update" {
Expand Down Expand Up @@ -92,6 +95,9 @@ teardown() {
}

@test "[$TESTSUITE] Test simple update with new content" {
# Disable useNextUpdateTime
./occ config:app:set news useNextUpdateTime --value=false

# Create Feed
FEEDID=$(http --ignore-stdin -b -a ${user}:${APP_PASSWORD} POST ${BASE_URLv1}/feeds url=$TEST_FEED | grep -Po '"id":\K([0-9]+)')

Expand Down

0 comments on commit bad390d

Please sign in to comment.