Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Co-authored-by: André Duffeck <andre.duffeck@firondu.de>
Signed-off-by: Christian Richter <crichter@owncloud.com>
  • Loading branch information
dragonchaser and aduffeck committed Nov 29, 2023
1 parent 0c67dbf commit 1a1c792
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/storage/utils/decomposedfs/recycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,10 @@ var _ = Describe("Recycle", func() {
itemsA, err := env.Fs.ListRecycle(env.Ctx, &provider.Reference{ResourceId: env.SpaceRootRes}, "", "/")
Expect(err).ToNot(HaveOccurred())
Expect(len(itemsA)).To(Equal(2))

itemsB, err := env.Fs.ListRecycle(env.Ctx, &provider.Reference{ResourceId: env.SpaceRootRes}, "", "/")
Expect(err).ToNot(HaveOccurred())
Expect(len(itemsB)).To(Equal(2))

Expect(itemsA).To(Equal(itemsB))
Expect(itemsA).To(ConsistOf(itemsB))
})

It("they can be permanently deleted by the other user", func() {
Expand Down

0 comments on commit 1a1c792

Please sign in to comment.