From 604ea00d406818c89f55aa930283792b2b4a0fad Mon Sep 17 00:00:00 2001 From: mlycore Date: Tue, 14 Nov 2023 17:50:07 +0800 Subject: [PATCH] chore: update backup test Signed-off-by: mlycore --- pitr/cli/internal/cmd/backup_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pitr/cli/internal/cmd/backup_test.go b/pitr/cli/internal/cmd/backup_test.go index 2ddab5c5..5c53baf2 100644 --- a/pitr/cli/internal/cmd/backup_test.go +++ b/pitr/cli/internal/cmd/backup_test.go @@ -370,6 +370,7 @@ var _ = Describe("test backup mock", func() { BeforeEach(func() { mockCtrl = gomock.NewController(GinkgoT()) mockIreq = mock_httputils.NewMockIreq(mockCtrl) + mockIreq.EXPECT().Body(gomock.Any()) monkey.Patch(httputils.NewRequest, func(ctx context.Context, method, url string) httputils.Ireq { return mockIreq