Skip to content

Commit

Permalink
chore: update backup test
Browse files Browse the repository at this point in the history
Signed-off-by: mlycore <[email protected]>
  • Loading branch information
mlycore committed Nov 14, 2023
1 parent 8526edc commit 604ea00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pitr/cli/internal/cmd/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 604ea00

Please sign in to comment.