aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/tests/js/filespluginSpec.js
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2021-07-27 17:04:47 +0200
committerGitHub <noreply@github.com>2021-07-27 17:04:47 +0200
commit0b8e90cb67780faf50b5808569b9eefbab7f4c64 (patch)
tree4006793cf21135472a67f2e5e5ef6b701ded7bb2 /apps/comments/tests/js/filespluginSpec.js
parentd4352aaace924a0c1dfa51bb2f934ad0b5e42283 (diff)
parenta8ebf37b08080616fdaec36909a96943ef4adb7f (diff)
downloadnextcloud-server-0b8e90cb67780faf50b5808569b9eefbab7f4c64.tar.gz
nextcloud-server-0b8e90cb67780faf50b5808569b9eefbab7f4c64.zip
Merge pull request #27893 from nextcloud/fix/comments-file-action
Fix comments file action sidebar opening
Diffstat (limited to 'apps/comments/tests/js/filespluginSpec.js')
-rw-r--r--apps/comments/tests/js/filespluginSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/tests/js/filespluginSpec.js b/apps/comments/tests/js/filespluginSpec.js
index 8057be264ea..1678c6c4150 100644
--- a/apps/comments/tests/js/filespluginSpec.js
+++ b/apps/comments/tests/js/filespluginSpec.js
@@ -89,7 +89,7 @@ describe('OCA.Comments.FilesPlugin tests', function() {
expect(sidebarTabStub.calledOnce).toEqual(true);
expect(sidebarTabStub.lastCall.args[0]).toEqual('comments');
expect(sidebarStub.calledOnce).toEqual(true);
- expect(sidebarStub.lastCall.args[0]).toEqual('/One.txt');
+ expect(sidebarStub.lastCall.args[0]).toEqual('/subdir/One.txt');
});
});
describe('elementToFile', function() {