fix(tests): add mock methods for cache OAuth state in new question notification tests

This commit is contained in:
LinkinStars
2026-07-08 10:41:28 +08:00
parent c52e2eeb1f
commit 0705ea6bae
@@ -798,3 +798,18 @@ func (newQuestionNotificationTestUserExternalLoginRepo) GetCacheUserExternalLogi
context.Context, string) (*schema.ExternalLoginUserInfoCache, error) {
return nil, nil
}
func (newQuestionNotificationTestUserExternalLoginRepo) SetCacheOAuthState(
context.Context, string, *schema.ExternalLoginOAuthState, time.Duration) error {
return nil
}
func (newQuestionNotificationTestUserExternalLoginRepo) GetCacheOAuthState(
context.Context, string) (*schema.ExternalLoginOAuthState, error) {
return nil, nil
}
func (newQuestionNotificationTestUserExternalLoginRepo) DeleteCacheOAuthState(
context.Context, string) error {
return nil
}