mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 15:27:01 -06:00
Chore: Implement GetOAuthProviders in FakeSocialService (#87590)
Implement GetOAuthProviders in FakeSocialService
This commit is contained in:
parent
5e19aa7bd1
commit
896882b004
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user