summaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-04-04 17:29:52 +0200
committerRobin Appelman <robin@icewind.nl>2022-04-07 17:37:19 +0200
commit6c04076a85ceee6222e0efd11a96c5e3a70276f8 (patch)
tree7d412c591ef0f338605279ae93db6b7972d9c5ba /apps/files/tests
parent7ff60b824900412a017bf2c775cc0f8f7cb7edc7 (diff)
downloadnextcloud-server-6c04076a85ceee6222e0efd11a96c5e3a70276f8.tar.gz
nextcloud-server-6c04076a85ceee6222e0efd11a96c5e3a70276f8.zip
fix filelist not loading after refresh in firefox
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/js/filelistSpec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js
index 8f2ef97b782..d35b3a19b9c 100644
--- a/apps/files/tests/js/filelistSpec.js
+++ b/apps/files/tests/js/filelistSpec.js
@@ -3442,6 +3442,7 @@ describe('OCA.Files.FileList tests', function() {
beforeEach(function() {
fileListStub = sinon.stub(OCA.Files.FileList.prototype, 'changeDirectory');
+ fileList._currentDirectory = '/subdir';
});
afterEach(function() {
fileListStub.restore();