Skip to content

Commit 9923f03

Browse files
Another test fix
1 parent 7231232 commit 9923f03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

go/internal/e2e/per_session_auth_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ func TestPerSessionAuth(t *testing.T) {
114114
// Without a per-session token, there is no per-session identity.
115115
// In CI the process-level fake token may still authenticate globally,
116116
// so we check Login rather than IsAuthenticated.
117-
if authStatus.Login != "" {
118-
t.Errorf("Expected no per-session login without token, got %q", authStatus.Login)
117+
if authStatus.Login != nil && *authStatus.Login != "" {
118+
t.Errorf("Expected no per-session login without token, got %q", *authStatus.Login)
119119
}
120120
})
121121

0 commit comments

Comments
 (0)