From 4e895df54f9ff1cc52bf109446782ce11e135336 Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Fri, 24 Jul 2026 21:48:35 +0000 Subject: [PATCH] Fix TenantID construction in auth error test TenantID is an [8]byte, so casting 1 does not compile. Use NewTenantID like the other tests. Signed-off-by: Cursor Agent Co-authored-by: Bryan FRIMIN --- pkg/server/api/connect/v1/auth_error_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/api/connect/v1/auth_error_test.go b/pkg/server/api/connect/v1/auth_error_test.go index b4c40e835..a444c4685 100644 --- a/pkg/server/api/connect/v1/auth_error_test.go +++ b/pkg/server/api/connect/v1/auth_error_test.go @@ -52,7 +52,7 @@ func TestRedirectAuthError(t *testing.T) { func TestAuthErrorCodeFromSAML(t *testing.T) { t.Parallel() - configID := gid.New(gid.TenantID(1), coredata.SAMLConfigurationEntityType) + configID := gid.New(gid.NewTenantID(), coredata.SAMLConfigurationEntityType) email, err := mail.ParseAddr("user@example.com") require.NoError(t, err)