Skip to content
Snippets Groups Projects
Commit 68310242 authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Instantiate correct object in gitlab test.

parent 7275ef7f
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -51,7 +51,7 @@ func TestNewEmptyGroupList(t *testing.T) { ...@@ -51,7 +51,7 @@ func TestNewEmptyGroupList(t *testing.T) {
func TestStartSession(t *testing.T) { func TestStartSession(t *testing.T) {
a := assert.New(t) a := assert.New(t)
p, _ := newGithub() p, _ := newGitlab()
s := p.StartSession("test_state") s := p.StartSession("test_state")
a.Contains(s.AuthURL, "exampleorg/oauth/authorize") a.Contains(s.AuthURL, "exampleorg/oauth/authorize")
a.Contains(s.AuthURL, "state=test_state") a.Contains(s.AuthURL, "state=test_state")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment