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
68310242
Commit
68310242
authored
Jan 14, 2017
by
Kevin Lyda
💬
Browse files
Instantiate correct object in gitlab test.
parent
7275ef7f
Pipeline
#1133
passed with stage
in 1 minute and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server/auth/gitlab/gitlab_test.go
View file @
68310242
...
...
@@ -51,7 +51,7 @@ func TestNewEmptyGroupList(t *testing.T) {
func
TestStartSession
(
t
*
testing
.
T
)
{
a
:=
assert
.
New
(
t
)
p
,
_
:=
newGit
hu
b
()
p
,
_
:=
newGit
la
b
()
s
:=
p
.
StartSession
(
"test_state"
)
a
.
Contains
(
s
.
AuthURL
,
"exampleorg/oauth/authorize"
)
a
.
Contains
(
s
.
AuthURL
,
"state=test_state"
)
...
...
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