aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/tests
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/files_trashbin/tests
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/files_trashbin/tests')
-rw-r--r--apps/files_trashbin/tests/js/filelistSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/tests/js/filelistSpec.js b/apps/files_trashbin/tests/js/filelistSpec.js
index 90eba960196..9e27188efb8 100644
--- a/apps/files_trashbin/tests/js/filelistSpec.js
+++ b/apps/files_trashbin/tests/js/filelistSpec.js
@@ -42,7 +42,7 @@ describe('OCA.Trashbin.FileList tests', function () {
// init parameters and test table elements
$('#testArea').append(
- '<div id="app-content-trashbin">' +
+ '<div id="app-content">' +
// set this but it shouldn't be used (could be the one from the
// files app)
'<input type="hidden" id="permissions" value="31"></input>' +
@@ -105,7 +105,7 @@ describe('OCA.Trashbin.FileList tests', function () {
// register file actions like the trashbin App does
var fileActions = OCA.Trashbin.App._createFileActions(fileList);
fileList = new OCA.Trashbin.FileList(
- $('#app-content-trashbin'), {
+ $('#app-content'), {
fileActions: fileActions,
multiSelectMenu: [{
name: 'restore',