From c41e31381d5a863290f076f5778ff0c8c4b5a0d7 Mon Sep 17 00:00:00 2001 From: Timothy Messier Date: Wed, 14 Sep 2022 13:31:43 +0000 Subject: [PATCH] test(cli): Fix session read and cancellation test --- internal/tests/cli/boundary/sessions.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tests/cli/boundary/sessions.bats b/internal/tests/cli/boundary/sessions.bats index 1b132d02b..356386f41 100644 --- a/internal/tests/cli/boundary/sessions.bats +++ b/internal/tests/cli/boundary/sessions.bats @@ -94,7 +94,7 @@ load _helpers [ "$status" -eq 0 ] run list_sessions $DEFAULT_P_ID [ "$status" -eq 0 ] - id=$(echo "$output" | jq -r "[.items[]|select(.user_id == \"$DEFAULT_USER\")][0].id") + id=$(echo "$output" | jq -r "[.items[]|select(.user_id == \"$DEFAULT_UNPRIVILEGED_USER\")][0].id") # Check unpriv can read and cancel their own session run login $DEFAULT_UNPRIVILEGED_LOGIN