Commit e5ee2348 authored by Sander van Harmelen's avatar Sander van Harmelen Committed by GitHub

Fix tests

parent bfe097b8
...@@ -25,7 +25,7 @@ func TestListBuildVariables(t *testing.T) { ...@@ -25,7 +25,7 @@ func TestListBuildVariables(t *testing.T) {
`[{"key":"%s","value":"%s"},{"key":"%s","value":"%s"}]`, myKey, myValue, myKey2, myValue2) `[{"key":"%s","value":"%s"},{"key":"%s","value":"%s"}]`, myKey, myValue, myKey2, myValue2)
}) })
variables, _, err := client.BuildVariables.ListBuildVariables(1) variables, _, err := client.BuildVariables.ListBuildVariables(1, nil)
if err != nil { if err != nil {
t.Errorf("ListBuildVariables returned error: %v", err) t.Errorf("ListBuildVariables returned error: %v", err)
} }
......
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