argo-cd/test/e2e/user_info_test.go
github-actions[bot] 4d9835927d
Bump major version to 3 (#21410)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <350466+crenshaw-dev@users.noreply.github.com>
2025-01-10 16:14:00 -05:00

22 lines
387 B
Go

package e2e
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
. "github.com/argoproj/argo-cd/v3/test/e2e/fixture"
)
func TestUserInfo(t *testing.T) {
EnsureCleanState(t)
output, err := RunCli("account", "get-user-info")
require.NoError(t, err)
assert.Equal(t, `Logged In: true
Username: admin
Issuer: argocd
Groups: `, output)
}