[v11.0.x] Chore: Implement GetOAuthProviders in FakeSocialService (#87591)

Chore: Implement GetOAuthProviders in FakeSocialService (#87590)

Implement GetOAuthProviders in FakeSocialService

(cherry picked from commit 896882b004)

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-05-10 12:05:51 +03:00
committed by GitHub
co-authored by Misi
parent 50400c8915
commit f6668aae97
@@ -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) {