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 /clients/ssh/git_upload_pack_test.go | |
parent | a82239a71a2cfc7a55af253d11c28fcec73a3039 (diff) | |
download | go-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.go | 4 |
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) { |