summaryrefslogtreecommitdiff
path: root/go/internal/gitlabnet/twofactorrecover/client_test.go
diff options
context:
space:
mode:
authorIgor <idrozdov@gitlab.com>2019-05-31 12:08:54 +0000
committerNick Thomas <nick@gitlab.com>2019-05-31 12:08:54 +0000
commit033c81d546d31d07e5eadb50611543a7d2471254 (patch)
tree688dc50182c8429941d4d23edad3aedc08471233 /go/internal/gitlabnet/twofactorrecover/client_test.go
parent12ca54c2d998803a0564a5a2942121364a30678f (diff)
downloadgitlab-shell-033c81d546d31d07e5eadb50611543a7d2471254.tar.gz
Go implementation for git-receive-pack
Diffstat (limited to 'go/internal/gitlabnet/twofactorrecover/client_test.go')
-rw-r--r--go/internal/gitlabnet/twofactorrecover/client_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/go/internal/gitlabnet/twofactorrecover/client_test.go b/go/internal/gitlabnet/twofactorrecover/client_test.go
index 56f7958..4b15ac5 100644
--- a/go/internal/gitlabnet/twofactorrecover/client_test.go
+++ b/go/internal/gitlabnet/twofactorrecover/client_test.go
@@ -149,8 +149,7 @@ func TestErrorResponses(t *testing.T) {
func setup(t *testing.T) (*Client, func()) {
initialize(t)
- cleanup, url, err := testserver.StartSocketHttpServer(requests)
- require.NoError(t, err)
+ url, cleanup := testserver.StartSocketHttpServer(t, requests)
client, err := NewClient(&config.Config{GitlabUrl: url})
require.NoError(t, err)