Commit aba58fd8 authored by Kevin Lyda's avatar Kevin Lyda 💬
Browse files

Fix tests for gitlab.

parent b6774574
Pipeline #1162 failed with stage
in 2 minutes and 47 seconds
......@@ -28,13 +28,13 @@ func TestNew(t *testing.T) {
}
func TestNewBrokenSiteURL(t *testing.T) {
authurl = "https://exampleorg"
siteurl = "https://exampleorg"
a := assert.New(t)
_, err := newGitlab()
a.EqualError(err, "gitlab_opts siteurl must end in /")
authurl = "https://exampleorg/"
siteurl = "https://exampleorg/"
}
func TestNewEmptyGroupList(t *testing.T) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment