aboutsummaryrefslogtreecommitdiffstats
path: root/common_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-08-31 23:42:36 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-08-31 23:42:36 +0200
commit5bed3e8fab965738f3f55bb01d15cd4748c26066 (patch)
tree14dbeb9f92b4ab16ab99268156c3336b53bcfce4 /common_test.go
parenta82239a71a2cfc7a55af253d11c28fcec73a3039 (diff)
downloadgo-git-5bed3e8fab965738f3f55bb01d15cd4748c26066.tar.gz
clients: default Auth methods
Diffstat (limited to 'common_test.go')
-rw-r--r--common_test.go3
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
}