aboutsummaryrefslogtreecommitdiffstats
path: root/apps/systemtags
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/systemtags
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/systemtags')
-rw-r--r--apps/systemtags/tests/js/systemtagsfilelistSpec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/systemtags/tests/js/systemtagsfilelistSpec.js b/apps/systemtags/tests/js/systemtagsfilelistSpec.js
index ab831e7f849..facdf8dc42c 100644
--- a/apps/systemtags/tests/js/systemtagsfilelistSpec.js
+++ b/apps/systemtags/tests/js/systemtagsfilelistSpec.js
@@ -28,7 +28,7 @@ describe('OCA.SystemTags.FileList tests', function() {
beforeEach(function() {
// init parameters and test table elements
$('#testArea').append(
- '<div id="app-content-container">' +
+ '<div id="app-content">' +
// init horrible parameters
'<input type="hidden" id="permissions" value="31"></input>' +
'<div class="files-controls"></div>' +
@@ -77,7 +77,7 @@ describe('OCA.SystemTags.FileList tests', function() {
]);
fileList = new OCA.SystemTags.FileList(
- $('#app-content-container'), {
+ $('#app-content'), {
systemTagIds: []
}
);
@@ -167,7 +167,7 @@ describe('OCA.SystemTags.FileList tests', function() {
it('renders empty message when no tags were set', function() {
fileList = new OCA.SystemTags.FileList(
- $('#app-content-container'), {
+ $('#app-content'), {
systemTagIds: []
}
);
@@ -181,7 +181,7 @@ describe('OCA.SystemTags.FileList tests', function() {
it('render files', function(done) {
fileList = new OCA.SystemTags.FileList(
- $('#app-content-container'), {
+ $('#app-content'), {
systemTagIds: ['123', '456']
}
);