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_external | |
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_external')
-rw-r--r-- | apps/files_external/tests/js/mountsfilelistSpec.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files_external/tests/js/mountsfilelistSpec.js b/apps/files_external/tests/js/mountsfilelistSpec.js index b599df77aac..50603081b6a 100644 --- a/apps/files_external/tests/js/mountsfilelistSpec.js +++ b/apps/files_external/tests/js/mountsfilelistSpec.js @@ -9,8 +9,7 @@ */ describe('OCA.External.FileList tests', function() { - var testFiles, alertStub, notificationStub, fileList, fileActions; - var oldFileListPrototype; + var testFiles, alertStub, notificationStub, fileList; beforeEach(function() { alertStub = sinon.stub(OC.dialogs, 'alert'); @@ -49,14 +48,11 @@ describe('OCA.External.FileList tests', function() { '<div id="emptycontent">Empty content message</div>' + '</div>' ); - fileActions = new OCA.Files.FileActions(); }); afterEach(function() { - OCA.Files.FileList.prototype = oldFileListPrototype; testFiles = undefined; fileList.destroy(); fileList = undefined; - fileActions = undefined; notificationStub.restore(); alertStub.restore(); |