diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2021-02-23 17:19:10 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-03-01 21:13:44 +0100 |
commit | bcdeb55fcbbbd02955e5cafd47d8d8db2670f22c (patch) | |
tree | a525dcbe2109b5cd180c765707001a462656371c /tests/integration/explore.bats | |
parent | 59885c27f7a6cddc2a6d06d1a91885780190f1ee (diff) |
Actions: Integration tests using bats
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/integration/explore.bats')
-rw-r--r-- | tests/integration/explore.bats | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/integration/explore.bats b/tests/integration/explore.bats new file mode 100644 index 000000000..7407dc8a8 --- /dev/null +++ b/tests/integration/explore.bats @@ -0,0 +1,12 @@ +#!/usr/bin/env bats + +load "helpers/settings" + +TESTSUITE="Explore" + +@test "[$TESTSUITE] Create new" { + curl --fail "$NC_FEED" + + run ./occ news:generate-explore --votes 100 "$NC_FEED" + [ "$status" -eq 0 ] +}
\ No newline at end of file |