diff options
Diffstat (limited to 'apps/files_sharing/tests/js/shareSpec.js')
-rw-r--r-- | apps/files_sharing/tests/js/shareSpec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/js/shareSpec.js b/apps/files_sharing/tests/js/shareSpec.js index 455addaccc0..3d4fc754821 100644 --- a/apps/files_sharing/tests/js/shareSpec.js +++ b/apps/files_sharing/tests/js/shareSpec.js @@ -70,6 +70,8 @@ describe('OCA.Sharing.Util tests', function() { OCA.Files.FileList.prototype = oldFileListPrototype; delete OCA.Sharing.sharesLoaded; delete OC.Share.droppedDown; + fileList.destroy(); + fileList = null; OC.Share.statuses = {}; OC.Share.currentShares = {}; }); |