summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-31 19:05:15 +0200
committerJulius Härtl <jus@bitgrid.net>2022-09-01 14:15:42 +0200
commit6ad600ea8adb13b53ccb74ea8c59100b2ce11941 (patch)
treeb1430e787fba410203e53a1a7f9308dec3c79125 /apps/comments
parentb6a68028576e4c497e2e23e2b45121412522b030 (diff)
downloadnextcloud-server-6ad600ea8adb13b53ccb74ea8c59100b2ce11941.tar.gz
nextcloud-server-6ad600ea8adb13b53ccb74ea8c59100b2ce11941.zip
Fix jsunit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/tests/js/filespluginSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/tests/js/filespluginSpec.js b/apps/comments/tests/js/filespluginSpec.js
index 0cfe584218e..4230a77874d 100644
--- a/apps/comments/tests/js/filespluginSpec.js
+++ b/apps/comments/tests/js/filespluginSpec.js
@@ -26,7 +26,7 @@ describe('OCA.Comments.FilesPlugin tests', function() {
var testFiles;
beforeEach(function() {
- var $content = $('<div id="content"></div>');
+ var $content = $('<div id="app-content"></div>');
$('#testArea').append($content);
// dummy file list
var $div = $(
@@ -36,7 +36,7 @@ describe('OCA.Comments.FilesPlugin tests', function() {
'<tbody class="files-fileList"></tbody>' +
'</table>' +
'</div>');
- $('#content').append($div);
+ $('#app-content').append($div);
fileList = new OCA.Files.FileList($div);
OCA.Comments.FilesPlugin.attach(fileList);