From cd8764bf22d9d4ce5e47a94fa53d3248338d7488 Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Mon, 21 Jun 2021 18:00:33 +0200 Subject: [PATCH] Changed permissions test with latest change --- .../http/services/owncloud/ocs/conversions/permissions_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/services/owncloud/ocs/conversions/permissions_test.go b/internal/http/services/owncloud/ocs/conversions/permissions_test.go index 6604b8deb9e..392baef30fe 100644 --- a/internal/http/services/owncloud/ocs/conversions/permissions_test.go +++ b/internal/http/services/owncloud/ocs/conversions/permissions_test.go @@ -35,7 +35,7 @@ func TestNewPermissionsWithInvalidValueShouldFail(t *testing.T) { vals := []int{ int(PermissionInvalid), -1, - int(PermissionAll) + 1, + int(PermissionNone) + 1, } for _, v := range vals { _, err := NewPermissions(v)