Skip to content

Commit

Permalink
reactivate tests
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Brahmer <[email protected]>
  • Loading branch information
Grotax committed Dec 1, 2024
1 parent 3673d1b commit 4c07c05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tests/command/feeds.bats
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ teardown() {

@test "[$TESTSUITE] List all items" {
ID=$(./occ news:feed:add "$user" "https://github.com/nextcloud/news/releases.atom" --title "Something-${BATS_SUITE_TEST_NUMBER}" | grep -Po '"id": \K([0-9]+)')
TAG="25.0.0-alpha11"
# TAG=$(curl --silent "https://api.github.com/repos/nextcloud/news/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
TAG=$(curl --silent "https://api.github.com/repos/nextcloud/news/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')

run ./occ news:item:list-feed "$user" "$ID" --limit 200
assert_success
Expand Down
3 changes: 1 addition & 2 deletions tests/command/items.bats
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ setup() {
load "../test_helper/bats-support/load"
load "../test_helper/bats-assert/load"
load "helpers/settings"
TAG="25.0.0-alpha11"
# $(curl --silent "https://api.github.com/repos/nextcloud/news/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
TAG=$(curl --silent "https://api.github.com/repos/nextcloud/news/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')

}

Expand Down

0 comments on commit 4c07c05

Please sign in to comment.