We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba3f507 commit 39ea102Copy full SHA for 39ea102
1 file changed
scripts/live-tests/tasks.sh
@@ -10,10 +10,12 @@ run_tasks_tests() {
10
11
run_required "tasks" "tasks lists list" gog tasks lists list --json --max 1 >/dev/null
12
13
- local list_json list_id
14
- list_json=$(gog tasks lists list --json --max 1)
15
- list_id=$(extract_tasklist_id "$list_json")
16
- [ -n "$list_id" ] || { echo "No task list found" >&2; exit 1; }
+ local created_list_json created_list_id list_json list_id
+ echo "==> tasks lists create"
+ created_list_json=$(gog tasks lists create "gogcli-smoke-$TS" --json)
+ created_list_id=$(extract_id "$created_list_json")
17
+ [ -n "$created_list_id" ] || { echo "Failed to parse task list id" >&2; exit 1; }
18
+ list_id="$created_list_id"
19
20
run_required "tasks" "tasks list" gog tasks list "$list_id" --json --max 1 >/dev/null
21
0 commit comments