Chore: Implement GetOAuthProviders in FakeSocialService (#87590)

Implement GetOAuthProviders in FakeSocialService
This commit is contained in:
Misi 2024-05-10 10:48:05 +02:00 committed by GitHub
parent 5e19aa7bd1
commit 896882b004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,12 +8,13 @@ import (
type FakeSocialService struct {
ExpectedAuthInfoProvider *social.OAuthInfo
ExpectedOAuthProviders map[string]bool
ExpectedConnector social.SocialConnector
ExpectedHttpClient *http.Client
}
func (fss *FakeSocialService) GetOAuthProviders() map[string]bool {
panic("not implemented")
return fss.ExpectedOAuthProviders
}
func (fss *FakeSocialService) GetOAuthHttpClient(string) (*http.Client, error) {