From e153984c8c03221ba297253cbb1f81bb4152ad94 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Mon, 23 Oct 2023 17:48:29 +0800 Subject: [PATCH] chore: update unit tests --- internal/db/start/start_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/start/start_test.go b/internal/db/start/start_test.go index 9a63cde03..e9db9320d 100644 --- a/internal/db/start/start_test.go +++ b/internal/db/start/start_test.go @@ -245,7 +245,7 @@ func TestStartCommand(t *testing.T) { ReplyError(errors.New("network error")) // Cleanup resources gock.New(utils.Docker.DaemonHost()). - Delete("/v" + utils.Docker.ClientVersion() + "/networks/"). + Post("/v" + utils.Docker.ClientVersion() + "/networks/prune"). Reply(http.StatusOK) // Run test err := Run(context.Background(), fsys)