summaryrefslogtreecommitdiffstats
path: root/client/go/cmd/deploy_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/cmd/deploy_test.go')
-rw-r--r--client/go/cmd/deploy_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/go/cmd/deploy_test.go b/client/go/cmd/deploy_test.go
index 236ae74f47e..e231591f94e 100644
--- a/client/go/cmd/deploy_test.go
+++ b/client/go/cmd/deploy_test.go
@@ -121,6 +121,7 @@ func assertDeploy(applicationPackage string, arguments []string, t *testing.T) {
func assertPrepare(applicationPackage string, arguments []string, t *testing.T) {
t.Helper()
client := &mock.HTTPClient{}
+ client.NextResponseString(200, `{"session-id":"42"}`)
client.NextResponseString(200, `{"session-id":"42","message":"Session 42 for tenant 'default' prepared.","log":[{"level":"WARNING","message":"Warning message 1","time": 1430134091319}]}`)
cli, stdout, _ := newTestCLI(t)
cli.httpClient = client