account_repository_refresh_candidates_unit_test.go 812 B

12345678910111213141516171819202122232425
  1. //go:build unit
  2. package service
  3. import "context"
  4. func (s *accountRepoStub) ListOAuthRefreshCandidates(context.Context) ([]Account, error) {
  5. panic("unexpected ListOAuthRefreshCandidates call")
  6. }
  7. func (r *openAIAccountTestRepo) ListOAuthRefreshCandidates(context.Context) ([]Account, error) {
  8. panic("unexpected ListOAuthRefreshCandidates call")
  9. }
  10. func (m *groupAwareMockAccountRepo) ListOAuthRefreshCandidates(context.Context) ([]Account, error) {
  11. panic("unexpected ListOAuthRefreshCandidates call")
  12. }
  13. func (m *mockAccountRepoForPlatform) ListOAuthRefreshCandidates(context.Context) ([]Account, error) {
  14. panic("unexpected ListOAuthRefreshCandidates call")
  15. }
  16. func (m *mockAccountRepoForGemini) ListOAuthRefreshCandidates(context.Context) ([]Account, error) {
  17. return m.ListActive(context.Background())
  18. }