From f8c7d5d947e956c4a35adcd2da59a1cb702ffae5 Mon Sep 17 00:00:00 2001 From: dvonthenen Date: Wed, 6 Nov 2019 09:50:27 -0800 Subject: [PATCH] Fix failing go test --- pkg/common/vclib/connection_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/common/vclib/connection_test.go b/pkg/common/vclib/connection_test.go index 6a3e96d05..7dbf66969 100644 --- a/pkg/common/vclib/connection_test.go +++ b/pkg/common/vclib/connection_test.go @@ -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", } @@ -174,7 +174,7 @@ func TestInvalidCaCert(t *testing.T) { connection := &vclib.VSphereConnection{ Hostname: "should-not-matter", - Port: "should-not-matter", + "27015", // doesn't matter, but has to be a valid port CACert: fixtures.InvalidCertPath, }