Skip to content

Commit 7987f41

Browse files
author
Matthew Fisher
committed
test(integration): add auth:whoami test
1 parent 8881a7b commit 7987f41

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/auth_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ func TestAuth(t *testing.T) {
1919
authRegisterTest(t, params)
2020
authLogoutTest(t, params)
2121
authLoginTest(t, params)
22+
authWhoamiTest(t, params)
2223
authCancel(t, params)
2324
}
2425

@@ -48,3 +49,7 @@ func authRegisterTest(t *testing.T, params *utils.DeisTestConfig) {
4849
utils.Execute(t, cmd, params, false, "")
4950
utils.Execute(t, cmd, params, true, "Registration failed")
5051
}
52+
53+
func authWhoamiTest(t *testing.T, params *utils.DeisTestConfig) {
54+
utils.Execute(t, "auth:whoami", params, true, params.UserName)
55+
}

0 commit comments

Comments
 (0)