From 1e1d5bfc0f9df9c5b918af3b4132b0d0ffb86514 Mon Sep 17 00:00:00 2001 From: Burcu Dogan Date: Sat, 10 May 2014 13:50:23 +0300 Subject: [PATCH] oauth2: fixing broken test. --- oauth2_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oauth2_test.go b/oauth2_test.go index 229bad5..9138f62 100644 --- a/oauth2_test.go +++ b/oauth2_test.go @@ -77,8 +77,8 @@ func TestExchangingTransport(t *testing.T) { func TestFetchWithNoRedirect(t *testing.T) { DefaultTransport = http.DefaultTransport - fetcher := newTestConf().(tokenFetcher) - _, err := fetcher.fetchToken(&Token{}) + fetcher := newTestConf().(TokenFetcher) + _, err := fetcher.FetchToken(&Token{}) if err == nil { t.Fatalf("Fetch should return an error if no refresh token is set") }