summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-12-04 18:39:20 +0100
committerVincent Petry <pvince81@owncloud.com>2014-12-04 18:39:20 +0100
commitbf887eca8bac04cbbd2f1bd5197017c0e0583edd (patch)
tree17014670cc5566b5b78178b29e29cdc29e4eb9cb /apps/files_external
parentc02ef695217f42dff501e481a50f4669d1cb1f29 (diff)
downloadnextcloud-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.js6
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();