aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-16 21:46:31 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-10-29 13:20:08 +0100
commita48359ac024b1b0dbfea2dc3deb93607b0dbf329 (patch)
treeba30df4cb8b31b59cc56d6e08bfb8eb8a255ccfd /apps/comments
parent480691a56951e85bf32c86e43e2d3e93dad03560 (diff)
downloadnextcloud-server-a48359ac024b1b0dbfea2dc3deb93607b0dbf329.tar.gz
nextcloud-server-a48359ac024b1b0dbfea2dc3deb93607b0dbf329.zip
Adjust unit tests to new OCA.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/comments')
-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 78becc5af09..06131698032 100644
--- a/apps/comments/tests/js/filespluginSpec.js
+++ b/apps/comments/tests/js/filespluginSpec.js
@@ -74,7 +74,7 @@ describe('OCA.Comments.FilesPlugin tests', function() {
expect(sidebarStub.calledOnce).toEqual(true);
expect(sidebarStub.lastCall.args[0]).toEqual('One.txt');
- expect(sidebarStub.lastCall.args[1]).toEqual('commentsTabView');
+ expect(sidebarStub.lastCall.args[1]).toEqual('comments');
});
});
describe('elementToFile', function() {