aboutsummaryrefslogtreecommitdiffstats
path: root/clients/ssh/git_upload_pack_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 /clients/ssh/git_upload_pack_test.go
parenta82239a71a2cfc7a55af253d11c28fcec73a3039 (diff)
downloadgo-git-5bed3e8fab965738f3f55bb01d15cd4748c26066.tar.gz
clients: default Auth methods
Diffstat (limited to 'clients/ssh/git_upload_pack_test.go')
-rw-r--r--clients/ssh/git_upload_pack_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/ssh/git_upload_pack_test.go b/clients/ssh/git_upload_pack_test.go
index b26276d..0785af5 100644
--- a/clients/ssh/git_upload_pack_test.go
+++ b/clients/ssh/git_upload_pack_test.go
@@ -32,9 +32,9 @@ type mockAuth struct{}
func (*mockAuth) Name() string { return "" }
func (*mockAuth) String() string { return "" }
-func (s *RemoteSuite) TestConnectWithAuthWrongType(c *C) {
+func (s *RemoteSuite) TestSetAuthWrongType(c *C) {
r := NewGitUploadPackService(s.Endpoint)
- c.Assert(r.ConnectWithAuth(&mockAuth{}), Equals, ErrInvalidAuthMethod)
+ c.Assert(r.SetAuth(&mockAuth{}), Equals, ErrInvalidAuthMethod)
}
func (s *RemoteSuite) TestAlreadyConnected(c *C) {