Skip to content

Commit f0a8a93

Browse files
mustard-mheasyCZ
andauthored
Update components/public-api-server/pkg/apiv1/tokens_test.go
Co-authored-by: Milan Pavlik <[email protected]>
1 parent 53bb3ce commit f0a8a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ func TestTokensService_DeletePersonalAccessToken(t *testing.T) {
473473
}),
474474
)
475475

476-
serverMock.EXPECT().GetLoggedInUser(gomock.Any()).Return(user, nil).MaxTimes(3)
476+
serverMock.EXPECT().GetLoggedInUser(gomock.Any()).Return(user, nil).Times(3)
477477

478478
_, err := client.GetPersonalAccessToken(context.Background(), connect.NewRequest(&v1.GetPersonalAccessTokenRequest{
479479
Id: tokens[0].ID.String(),

0 commit comments

Comments
 (0)