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 600b773
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/storage/utils/decomposedfs/recycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package decomposedfs_test

import (
"context"

userpb "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
ctxpkg "github.com/cs3org/reva/v2/pkg/ctx"
Expand Down Expand Up @@ -170,12 +169,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 600b773

Please sign in to comment.