Skip to content

Commit 7b095ab

Browse files
authored
[public-api] Fix GetIDToken test (#16714)
1 parent c168b01 commit 7b095ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/public-api-server/pkg/apiv1/identityprovider_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func TestGetIDToken(t *testing.T) {
114114
Audience: []string{"some.audience.com"},
115115
},
116116
Expectation: Expectation{
117-
Error: connect.NewError(connect.CodePermissionDenied, fmt.Errorf("User is not authenticated. Please login.")).Error(),
117+
Error: connect.NewError(connect.CodeUnauthenticated, fmt.Errorf("User is not authenticated. Please login.")).Error(),
118118
},
119119
},
120120
{

0 commit comments

Comments
 (0)