Files
threshold/internal/tests/cli/boundary/authenticate.bats
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
433 B
Bash
Raw Normal View History

#!/usr/bin/env bats
load _auth
load _helpers
load _auth_tokens
export NEW_USER='test'
@test "boundary/authenticate password: can login as unpriv user" {
run login $DEFAULT_UNPRIVILEGED_LOGIN
[ "$status" -eq 0 ]
run logout_cmd
[ "$status" -eq 0 ]
}
@test "boundary/authenticate ldap: can login as unpriv user" {
run login_ldap $DEFAULT_UNPRIVILEGED_LOGIN
[ "$status" -eq 0 ]
run logout_cmd
[ "$status" -eq 0 ]
}