diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-31 23:42:36 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-31 23:42:36 +0200 |
commit | 5bed3e8fab965738f3f55bb01d15cd4748c26066 (patch) | |
tree | 14dbeb9f92b4ab16ab99268156c3336b53bcfce4 /common_test.go | |
parent | a82239a71a2cfc7a55af253d11c28fcec73a3039 (diff) | |
download | go-git-5bed3e8fab965738f3f55bb01d15cd4748c26066.tar.gz |
clients: default Auth methods
Diffstat (limited to 'common_test.go')
-rw-r--r-- | common_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common_test.go b/common_test.go index e02e9d6..42b3310 100644 --- a/common_test.go +++ b/common_test.go @@ -45,8 +45,7 @@ func (p *MockGitUploadPackService) Connect() error { return nil } -func (p *MockGitUploadPackService) ConnectWithAuth(auth common.AuthMethod) error { - p.connected = true +func (p *MockGitUploadPackService) SetAuth(auth common.AuthMethod) error { p.auth = auth return nil } |