diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-07-27 13:44:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 13:44:52 +0200 |
commit | fc276ba42f2c4a27e6ee33b6ec3ed427b4f01f75 (patch) | |
tree | 0d3747645340d670849dd92848a4878a4dfd58e9 /apps/files/tests/js/fileactionsmenuSpec.js | |
parent | dd6713ff104ec14b0fe75411c1ce78e2f530f77e (diff) | |
parent | 8be9b04981c4f0bdf0a2b8d424f55c797ad90a32 (diff) | |
download | nextcloud-server-fc276ba42f2c4a27e6ee33b6ec3ed427b4f01f75.tar.gz nextcloud-server-fc276ba42f2c4a27e6ee33b6ec3ed427b4f01f75.zip |
Merge pull request #33373 from nextcloud/techdebt/noid/remove-legacy-dir
Remove legacy #dir element in files list
Diffstat (limited to 'apps/files/tests/js/fileactionsmenuSpec.js')
-rw-r--r-- | apps/files/tests/js/fileactionsmenuSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/tests/js/fileactionsmenuSpec.js b/apps/files/tests/js/fileactionsmenuSpec.js index 4ede99dc333..a252e75c5e2 100644 --- a/apps/files/tests/js/fileactionsmenuSpec.js +++ b/apps/files/tests/js/fileactionsmenuSpec.js @@ -31,7 +31,6 @@ describe('OCA.Files.FileActionsMenu tests', function() { beforeEach(function() { // init horrible parameters var $body = $('#testArea'); - $body.append('<input type="hidden" id="dir" value="/subdir"></input>'); $body.append('<input type="hidden" id="permissions" value="31"></input>'); // dummy files table actionStub = sinon.stub(); @@ -39,6 +38,7 @@ describe('OCA.Files.FileActionsMenu tests', function() { fileList = new OCA.Files.FileList($body, { fileActions: fileActions }); + fileList.changeDirectory('/subdir', false, true); fileActions.registerAction({ name: 'Testdropdown', @@ -100,7 +100,7 @@ describe('OCA.Files.FileActionsMenu tests', function() { fileList.destroy(); fileList = undefined; menu.remove(); - $('#dir, #permissions, .files-filestable').remove(); + $('#permissions, .files-filestable').remove(); }); describe('rendering', function() { |