Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
cashier
Commits
aba58fd8
Commit
aba58fd8
authored
Jan 22, 2017
by
Kevin Lyda
💬
Browse files
Fix tests for gitlab.
parent
b6774574
Pipeline
#1162
failed with stage
in 2 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server/auth/gitlab/gitlab_test.go
View file @
aba58fd8
...
...
@@ -28,13 +28,13 @@ func TestNew(t *testing.T) {
}
func
TestNewBrokenSiteURL
(
t
*
testing
.
T
)
{
auth
url
=
"https://exampleorg"
site
url
=
"https://exampleorg"
a
:=
assert
.
New
(
t
)
_
,
err
:=
newGitlab
()
a
.
EqualError
(
err
,
"gitlab_opts siteurl must end in /"
)
auth
url
=
"https://exampleorg/"
site
url
=
"https://exampleorg/"
}
func
TestNewEmptyGroupList
(
t
*
testing
.
T
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment