Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
fix tests to match new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsalles committed Jul 6, 2018
1 parent c1dbb0a commit d4bde82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions provision/docker_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ func TestFnClient(t *testing.T) {
}

// connect from local socket
client, err := FnClient("unix:///var/run/docker.sock")
client, err := FnClient("unix:///var/run/docker.sock", "")
if err != nil {
t.Errorf("FnClient with URI: expected nil but returned %q", err)
}
Expand All @@ -19,7 +19,7 @@ func TestFnClient(t *testing.T) {
}

// Empty string also connect local socket
client, err = FnClient("")
client, err = FnClient("", "")
if err != nil {
t.Errorf("FnClient: expected nil but returned %q", err)
}
Expand Down
2 changes: 1 addition & 1 deletion provision/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func TestFnClientWrongClient(t *testing.T) {
_, err := FnClient("http://localhost:a")
_, err := FnClient("http://localhost:a", "")
if err == nil {
t.Fatal("expected error but no errors found")
}
Expand Down

0 comments on commit d4bde82

Please sign in to comment.