Skip to content

Commit

Permalink
Fix failing go test
Browse files Browse the repository at this point in the history
Copy and paste error
  • Loading branch information
dvonthenen committed Nov 6, 2019
1 parent 04cdca2 commit 791d29c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/common/vclib/connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func TestWithValidThumbprint(t *testing.T) {
func TestWithInvalidCaCertPath(t *testing.T) {
connection := &vclib.VSphereConnection{
Hostname: "should-not-matter",
Port: "should-not-matter",
Port: "27015", // doesn't matter, but has to be a valid port
CACert: "invalid-path",
}

Expand All @@ -174,7 +174,7 @@ func TestInvalidCaCert(t *testing.T) {

connection := &vclib.VSphereConnection{
Hostname: "should-not-matter",
Port: "should-not-matter",
Port: "27015", // doesn't matter, but has to be a valid port
CACert: fixtures.InvalidCertPath,
}

Expand Down

0 comments on commit 791d29c

Please sign in to comment.