summaryrefslogtreecommitdiffstats
path: root/tests/command/update.bats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/command/update.bats')
-rw-r--r--tests/command/update.bats21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/command/update.bats b/tests/command/update.bats
new file mode 100644
index 000000000..d94c1cd28
--- /dev/null
+++ b/tests/command/update.bats
@@ -0,0 +1,21 @@
+#!/usr/bin/env bats
+
+# This only works with NC 26
+
+load "helpers/settings"
+load "../test_helper/bats-support/load"
+load "../test_helper/bats-assert/load"
+
+TESTSUITE="Update"
+
+@test "[$TESTSUITE] Job status" {
+ run ./occ news:updater:job
+
+ assert_success
+}
+
+@test "[$TESTSUITE] Job reset" {
+ run ./occ news:updater:job --reset
+
+ assert_success
+} \ No newline at end of file