Skip to content

Commit

Permalink
test(pitr): fix test case show no record
Browse files Browse the repository at this point in the history
  • Loading branch information
Xu-Wentao committed Apr 6, 2023
1 parent fa0e6db commit 499759b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pitr/cli/internal/cmd/show_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ var _ = Describe("Show", func() {
})

It("no record", func() {
CSN = ""
RecordID = ""
ls.EXPECT().ReadAll().Return([]model.LsBackup{}, nil)
Expect(show()).To(BeNil())
})
Expand Down

0 comments on commit 499759b

Please sign in to comment.