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