Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Nov 13, 2023
1 parent f2ad40e commit 47ec975
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/integration/grpc/ocm_share_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ import (

var (
editorPermissions = &provider.ResourcePermissions{
CreateContainer: true,
Delete: true,
GetPath: true,
InitiateFileDownload: true,
InitiateFileUpload: true,
ListContainer: true,
GetPath: true,
ListGrants: true,
Move: true,
Stat: true,
}
viewerPermissions = &provider.ResourcePermissions{
Expand Down Expand Up @@ -574,7 +578,7 @@ var _ = Describe("ocm share", func() {
SpaceId: share.Id.OpaqueId,
},
Name: "foo",
Path: "./dir/foo",
Path: "foo",
Size: 7,
Type: provider.ResourceType_RESOURCE_TYPE_FILE,
PermissionSet: editorPermissions,
Expand All @@ -586,7 +590,7 @@ var _ = Describe("ocm share", func() {
SpaceId: share.Id.OpaqueId,
},
Name: "bar",
Path: "./dir/bar",
Path: "bar",
Size: 0,
Type: provider.ResourceType_RESOURCE_TYPE_CONTAINER,
PermissionSet: editorPermissions,
Expand Down

0 comments on commit 47ec975

Please sign in to comment.