mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-11-02 02:28:33 -05:00
Adjust to changed utils func
This commit is contained in:
1 parent
5c7f49de07
commit
a9e408bf7f
1 file changed
+3
-4
@@ -57,10 +57,9 @@ var _ = Describe("share recipients", func() {
|
||||
|
||||
// resourceInfo returns a resource info as stat'ed with the ancestor grants
|
||||
resourceInfo := func(id *provider.ResourceId, grants ...*provider.Grant) *provider.ResourceInfo {
|
||||
return &provider.ResourceInfo{
|
||||
Id: id,
|
||||
Opaque: utils.AppendGrantsToOpaque(nil, ancestorGrantsKey, grants),
|
||||
}
|
||||
o, err := utils.AppendGrantsToOpaque(nil, ancestorGrantsKey, grants)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
return &provider.ResourceInfo{Id: id, Opaque: o}
|
||||
}
|
||||
|
||||
expectGroupMembers := func(members ...string) {
|
||||
|
||||
Reference in new issue
Block a user