From 8cd2277f6d7af7790f26d475cd5399ea88d8ae37 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Thu, 4 Jul 2024 17:34:10 +0200 Subject: [PATCH] tests: fix unit tests --- services/graph/pkg/unifiedrole/unifiedrole_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/services/graph/pkg/unifiedrole/unifiedrole_test.go b/services/graph/pkg/unifiedrole/unifiedrole_test.go index 4dff7a68f9..2d1e4a0a9c 100644 --- a/services/graph/pkg/unifiedrole/unifiedrole_test.go +++ b/services/graph/pkg/unifiedrole/unifiedrole_test.go @@ -33,7 +33,6 @@ var _ = Describe("unifiedroles", func() { Entry(rConversions.RoleSpaceEditor, rConversions.NewSpaceEditorRole(), unifiedrole.NewSpaceEditorUnifiedRole(), unifiedrole.UnifiedRoleConditionDrive), Entry(rConversions.RoleSecureViewer, rConversions.NewSecureViewerRole(), unifiedrole.NewSecureViewerUnifiedRole(), unifiedrole.UnifiedRoleConditionFile), Entry(rConversions.RoleSecureViewer, rConversions.NewSecureViewerRole(), unifiedrole.NewSecureViewerUnifiedRole(), unifiedrole.UnifiedRoleConditionFolder), - Entry(rConversions.RoleSecureViewer, rConversions.NewSecureViewerRole(), unifiedrole.NewSecureViewerUnifiedRole(), unifiedrole.UnifiedRoleConditionDrive), ) DescribeTable("UnifiedRolePermissionsToCS3ResourcePermissions", @@ -205,7 +204,6 @@ var _ = Describe("unifiedroles", func() { rolesToAction(unifiedrole.GetBuiltinRoleDefinitionList()...), unifiedrole.UnifiedRoleConditionDrive, []*libregraph.UnifiedRoleDefinition{ - unifiedrole.NewSecureViewerUnifiedRole(), unifiedrole.NewSpaceViewerUnifiedRole(), unifiedrole.NewSpaceEditorUnifiedRole(), unifiedrole.NewManagerUnifiedRole(),