diff --git a/core/js/tests/specs/files/clientSpec.js b/core/js/tests/specs/files/clientSpec.js index ec0e15fd7b..126ba3f4e6 100644 --- a/core/js/tests/specs/files/clientSpec.js +++ b/core/js/tests/specs/files/clientSpec.js @@ -658,7 +658,7 @@ describe('OC.Files.Client tests', function() { ['', true, OC.PERMISSION_READ], ['C', true, OC.PERMISSION_READ | OC.PERMISSION_CREATE], ['K', true, OC.PERMISSION_READ | OC.PERMISSION_CREATE], - ['W', true, OC.PERMISSION_READ | OC.PERMISSION_CREATE | OC.PERMISSION_UPDATE], + ['W', true, OC.PERMISSION_READ | OC.PERMISSION_UPDATE], ['D', true, OC.PERMISSION_READ | OC.PERMISSION_DELETE], ['R', true, OC.PERMISSION_READ | OC.PERMISSION_SHARE], ['CKWDR', true, OC.PERMISSION_ALL] @@ -667,21 +667,6 @@ describe('OC.Files.Client tests', function() { return testPermission.apply(this, testCase); }); }); - it('properly parses folder permissions', function() { - var testCases = [ - ['', false, OC.PERMISSION_READ], - ['C', false, OC.PERMISSION_READ | OC.PERMISSION_CREATE | OC.PERMISSION_UPDATE], - ['K', false, OC.PERMISSION_READ | OC.PERMISSION_CREATE | OC.PERMISSION_UPDATE], - ['W', false, OC.PERMISSION_READ | OC.PERMISSION_UPDATE], - ['D', false, OC.PERMISSION_READ | OC.PERMISSION_DELETE], - ['R', false, OC.PERMISSION_READ | OC.PERMISSION_SHARE], - ['CKWDR', false, OC.PERMISSION_ALL] - ]; - - _.each(testCases, function(testCase) { - return testPermission.apply(this, testCase); - }); - }); it('properly parses mount types', function() { var testCases = [ ['CKWDR', false, null],