Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyongyosi committed Nov 17, 2022
1 parent 0e82e7c commit 92540f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion pkg/api/login_oauth_test.go
Expand Up @@ -39,7 +39,6 @@ func setupOAuthTest(t *testing.T, cfg *setting.Cfg) *web.Mux {
SocialService: social.ProvideService(cfg, featuremgmt.WithFeatures()),
HooksService: hooks.ProvideService(),
SecretsService: fakes.NewFakeSecretsService(),
Features: featuremgmt.WithFeatures(),
}

m := web.New()
Expand Down
4 changes: 0 additions & 4 deletions pkg/services/oauthtoken/oauth_token_test.go
Expand Up @@ -290,10 +290,6 @@ func (m *MockSocialConnector) AuthCodeURL(state string, opts ...oauth2.AuthCodeO
panic("not implemented")
}

func (m *MockSocialConnector) GetCustomAuthParams() []oauth2.AuthCodeOption {
panic("not implemented")
}

func (m *MockSocialConnector) Exchange(ctx context.Context, code string, authOptions ...oauth2.AuthCodeOption) (*oauth2.Token, error) {
panic("not implemented")
}
Expand Down

0 comments on commit 92540f7

Please sign in to comment.