diff --git a/server/auth/gitlab/gitlab_test.go b/server/auth/gitlab/gitlab_test.go
index 4f682e8a6cf42e363b85460996da47890e3ec138..70ec76818be89e14ce0822547f925908c205b26c 100644
--- a/server/auth/gitlab/gitlab_test.go
+++ b/server/auth/gitlab/gitlab_test.go
@@ -51,7 +51,7 @@ func TestNewEmptyGroupList(t *testing.T) {
 func TestStartSession(t *testing.T) {
 	a := assert.New(t)
 
-	p, _ := newGithub()
+	p, _ := newGitlab()
 	s := p.StartSession("test_state")
 	a.Contains(s.AuthURL, "exampleorg/oauth/authorize")
 	a.Contains(s.AuthURL, "state=test_state")