[v10.4.x] Chore: Implement GetOAuthProviders in FakeSocialService (#87592)
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:
co-authored by
Misi
parent
cbbd6b1f7f
commit
b49ed3d4c4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user