diff options
author | Eirik Nygaard <eirik.nygaard@yahooinc.com> | 2022-08-23 09:43:42 +0200 |
---|---|---|
committer | Eirik Nygaard <eirik.nygaard@yahooinc.com> | 2022-08-23 09:43:42 +0200 |
commit | d71b338105692e7b0f089a04827a942fb5fe0ba9 (patch) | |
tree | 59c8a57ee822fa314ad24dd5169746e8959ca38a /client/go | |
parent | 54c676642b9a17fb3d1d995e0c9592440e9bc460 (diff) |
Only return session-id from upload, then full prepared output after prepare
Diffstat (limited to 'client/go')
-rw-r--r-- | client/go/cmd/deploy_test.go | 1 |
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 |