diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-31 20:05:15 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-09-01 15:15:42 +0300 |
commit | 6ad600ea8adb13b53ccb74ea8c59100b2ce11941 (patch) | |
tree | b1430e787fba410203e53a1a7f9308dec3c79125 /apps/files | |
parent | b6a68028576e4c497e2e23e2b45121412522b030 (diff) |
Fix jsunit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/tests/js/favoritesfilelistspec.js | 4 | ||||
-rw-r--r-- | apps/files/tests/js/tagspluginspec.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/tests/js/favoritesfilelistspec.js b/apps/files/tests/js/favoritesfilelistspec.js index 6cfc078cf26..5d1ad2312f2 100644 --- a/apps/files/tests/js/favoritesfilelistspec.js +++ b/apps/files/tests/js/favoritesfilelistspec.js @@ -28,7 +28,7 @@ describe('OCA.Files.FavoritesFileList 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>' + // dummy controls @@ -60,7 +60,7 @@ describe('OCA.Files.FavoritesFileList tests', function() { beforeEach(function() { fileList = new OCA.Files.FavoritesFileList( - $('#app-content-container') + $('#app-content') ); OCA.Files.FavoritesPlugin.attach(fileList); diff --git a/apps/files/tests/js/tagspluginspec.js b/apps/files/tests/js/tagspluginspec.js index e59a9695592..864e3cffca5 100644 --- a/apps/files/tests/js/tagspluginspec.js +++ b/apps/files/tests/js/tagspluginspec.js @@ -27,7 +27,7 @@ describe('OCA.Files.TagsPlugin 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 = $( @@ -37,7 +37,7 @@ describe('OCA.Files.TagsPlugin tests', function() { '<tbody class="files-fileList"></tbody>' + '</table>' + '</div>'); - $('#content').append($div); + $('#app-content').append($div); fileList = new OCA.Files.FileList($div); OCA.Files.TagsPlugin.attach(fileList); |