summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2014-12-12 11:43:31 +0100
committerRobin Appelman <robin@icewind.nl>2014-12-12 11:43:31 +0100
commit3bf0922b1337115c7cfc8a03547bc2d7d0d9fa69 (patch)
tree5c594dff36a1210b12dbb05558f50310819a5325 /apps/files_external
parentc451d99daae86290281806d0e8cdcfcfcf451412 (diff)
parentbf887eca8bac04cbbd2f1bd5197017c0e0583edd (diff)
downloadnextcloud-server-3bf0922b1337115c7cfc8a03547bc2d7d0d9fa69.tar.gz
nextcloud-server-3bf0922b1337115c7cfc8a03547bc2d7d0d9fa69.zip
Merge pull request #12527 from owncloud/js-pluginsystem
Simple Plugin system for Javascript
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();