aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/internal/cli/cmd/status_test.go
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-05-19 15:10:49 +0200
committerMartin Polden <mpolden@mpolden.no>2023-05-20 12:19:52 +0200
commit531e4093e0a06c2868ec702c7a0a9235ad54a2c6 (patch)
treeddb0fa7711bf8a4f87c259288ade683b8cf8a3f0 /client/go/internal/cli/cmd/status_test.go
parent8a6a790e38145f5295ad55db3681c442bf1410dd (diff)
Only set port for local target
Diffstat (limited to 'client/go/internal/cli/cmd/status_test.go')
-rw-r--r--client/go/internal/cli/cmd/status_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/go/internal/cli/cmd/status_test.go b/client/go/internal/cli/cmd/status_test.go
index a3cae7c3fe4..76efea55503 100644
--- a/client/go/internal/cli/cmd/status_test.go
+++ b/client/go/internal/cli/cmd/status_test.go
@@ -16,7 +16,7 @@ func TestStatusDeployCommand(t *testing.T) {
}
func TestStatusDeployCommandWithURLTarget(t *testing.T) {
- assertDeployStatus("http://mydeploytarget:19071", []string{"-t", "http://mydeploytarget"}, t)
+ assertDeployStatus("http://mydeploytarget:19071", []string{"-t", "http://mydeploytarget:19071"}, t)
}
func TestStatusDeployCommandWithLocalTarget(t *testing.T) {
@@ -28,7 +28,7 @@ func TestStatusQueryCommand(t *testing.T) {
}
func TestStatusQueryCommandWithUrlTarget(t *testing.T) {
- assertQueryStatus("http://mycontainertarget:8080", []string{"-t", "http://mycontainertarget"}, t)
+ assertQueryStatus("http://mycontainertarget:8080", []string{"-t", "http://mycontainertarget:8080"}, t)
}
func TestStatusQueryCommandWithLocalTarget(t *testing.T) {