Rename refresh token errors to list error (#4138)
This commit is contained in:
1 parent
a1bc2be136
commit
2d18f82c9f
9 files changed
+21
-21
No files matched your search
+1
-1
@@ -66,7 +66,7 @@ func testFullFetchRetrievalFunc[T any](t *testing.T, ret []T) func(context.Conte
|
||||
func testErroringForRefreshTokenRetrievalFunc[T any](t *testing.T, ret []T) func(context.Context, string, string, RefreshTokenValue) ([]T, []string, RefreshTokenValue, error) {
|
||||
return func(ctx context.Context, s1, s2 string, refToken RefreshTokenValue) ([]T, []string, RefreshTokenValue, error) {
|
||||
if refToken != "" {
|
||||
return nil, nil, "", api.ErrInvalidRefreshToken
|
||||
return nil, nil, "", api.ErrInvalidListToken
|
||||
}
|
||||
return ret, nil, "1", nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user