diff options
Diffstat (limited to 'apps/files/tests')
-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); |