Skip to content

Commit

Permalink
chore: debugging concourse (#3233)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Burtey <[email protected]>
  • Loading branch information
nicolasburtey and Nicolas Burtey authored Sep 18, 2023
1 parent 05f998e commit 4dff105
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/bats/auth.bats
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ generateTotpCode() {
id="$(graphql_output '.data.me.id')"

sessions_before_logout=$(curl -s http://127.0.0.1:4434/admin/identities/$id/sessions | jq '[.[] | select(.active == true)] | length')
curl -s http://127.0.0.1:4434/admin/identities/$id/sessions
echo $sessions_before_logout

[[ "$sessions_before_logout" -eq 1 ]] || exit 1

exec_graphql 'charlie' 'logout'
Expand Down

0 comments on commit 4dff105

Please sign in to comment.