diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-12-04 18:39:20 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-12-04 18:39:20 +0100 |
commit | bf887eca8bac04cbbd2f1bd5197017c0e0583edd (patch) | |
tree | 17014670cc5566b5b78178b29e29cdc29e4eb9cb /apps/files_sharing/tests/js/shareSpec.js | |
parent | c02ef695217f42dff501e481a50f4669d1cb1f29 (diff) | |
download | nextcloud-server-bf887eca8bac04cbbd2f1bd5197017c0e0583edd.tar.gz nextcloud-server-bf887eca8bac04cbbd2f1bd5197017c0e0583edd.zip |
Remove obsoleted filelist prototype backup in tests
Diffstat (limited to 'apps/files_sharing/tests/js/shareSpec.js')
-rw-r--r-- | apps/files_sharing/tests/js/shareSpec.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/files_sharing/tests/js/shareSpec.js b/apps/files_sharing/tests/js/shareSpec.js index d64d4ea8137..33c9c83b970 100644 --- a/apps/files_sharing/tests/js/shareSpec.js +++ b/apps/files_sharing/tests/js/shareSpec.js @@ -9,7 +9,6 @@ */ describe('OCA.Sharing.Util tests', function() { - var oldFileListPrototype; var fileList; var testFiles; @@ -24,10 +23,6 @@ describe('OCA.Sharing.Util tests', function() { } beforeEach(function() { - // back up prototype, as it will be extended by - // the sharing code - oldFileListPrototype = _.extend({}, OCA.Files.FileList.prototype); - var $content = $('<div id="content"></div>'); $('#testArea').append($content); // dummy file list @@ -67,7 +62,6 @@ describe('OCA.Sharing.Util tests', function() { }; }); afterEach(function() { - OCA.Files.FileList.prototype = oldFileListPrototype; delete OCA.Sharing.sharesLoaded; delete OC.Share.droppedDown; fileList.destroy(); |