Commit 024cd449 authored by John Jarvis's avatar John Jarvis

Fix tests

parent 1ac0b172
Pipeline #42471648 (#60) passed with stage
in 1 minute and 12 seconds
......@@ -41,8 +41,8 @@ func TestParseConfigCorrectly(t *testing.T) {
if err != nil {
t.Fatalf("failed to parse the configuration: %s", err)
assertEquals(t, "gitlab token", "*** GITLAB API TOKEN GOES HERE ***", c.APITokens.GitLab)
assertEquals(t, "pagerduty token", "*** PD API TOKEN GOES HERE ***", c.APITokens.PagerDuty)
assertEquals(t, "gitlab token", "", c.APITokens.GitLab)
assertEquals(t, "pagerduty token", "", c.APITokens.PagerDuty)
func assertEquals(t *testing.T, name string, expected, actual interface{}) {
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