diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2021-05-10 09:19:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 09:19:50 +0200 |
commit | 73a616101b63a321d56d756ae138fe0733c782e3 (patch) | |
tree | 39e371999e65013d2a020b8853608e3ed7ac99e6 /apps/files/tests | |
parent | 2349df4ca5e3038f72aadd78445b4868da08e61a (diff) | |
download | nextcloud-server-73a616101b63a321d56d756ae138fe0733c782e3.tar.gz nextcloud-server-73a616101b63a321d56d756ae138fe0733c782e3.zip |
Change the values in the test
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/js/filelistSpec.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js index 5c75bfb43bf..06dcb0dd469 100644 --- a/apps/files/tests/js/filelistSpec.js +++ b/apps/files/tests/js/filelistSpec.js @@ -1251,7 +1251,7 @@ describe('OCA.Files.FileList tests', function() { expect($summary.hasClass('hidden')).toEqual(false); expect($summary.find('.dirinfo').text()).toEqual('1 folder'); expect($summary.find('.fileinfo').text()).toEqual('2 files'); - expect($summary.find('.filter').text()).toEqual(" match 'e'"); + expect($summary.find('.filter').text()).toEqual(" match \"e\""); expect($nofilterresults.hasClass('hidden')).toEqual(true); fileList.setFilter('ee'); @@ -1260,7 +1260,7 @@ describe('OCA.Files.FileList tests', function() { expect($summary.hasClass('hidden')).toEqual(false); expect($summary.find('.dirinfo').hasClass('hidden')).toEqual(true); expect($summary.find('.fileinfo').text()).toEqual('1 file'); - expect($summary.find('.filter').text()).toEqual(" matches 'ee'"); + expect($summary.find('.filter').text()).toEqual(" matches \"ee\""); expect($nofilterresults.hasClass('hidden')).toEqual(true); fileList.setFilter('eee'); @@ -1275,7 +1275,7 @@ describe('OCA.Files.FileList tests', function() { expect($summary.hasClass('hidden')).toEqual(false); expect($summary.find('.dirinfo').hasClass('hidden')).toEqual(true); expect($summary.find('.fileinfo').text()).toEqual('1 file'); - expect($summary.find('.filter').text()).toEqual(" matches 'ee'"); + expect($summary.find('.filter').text()).toEqual(" matches \"ee\""); expect($nofilterresults.hasClass('hidden')).toEqual(true); fileList.setFilter('e'); @@ -1284,7 +1284,7 @@ describe('OCA.Files.FileList tests', function() { expect($summary.hasClass('hidden')).toEqual(false); expect($summary.find('.dirinfo').text()).toEqual('1 folder'); expect($summary.find('.fileinfo').text()).toEqual('2 files'); - expect($summary.find('.filter').text()).toEqual(" match 'e'"); + expect($summary.find('.filter').text()).toEqual(" match \"e\""); expect($nofilterresults.hasClass('hidden')).toEqual(true); fileList.setFilter(''); @@ -1305,7 +1305,7 @@ describe('OCA.Files.FileList tests', function() { expect($summary.hasClass('hidden')).toEqual(false); expect($summary.find('.dirinfo').hasClass('hidden')).toEqual(true); expect($summary.find('.fileinfo').text()).toEqual('1 file'); - expect($summary.find('.filter').text()).toEqual(" matches '63'"); + expect($summary.find('.filter').text()).toEqual(" matches \"63\""); expect($nofilterresults.hasClass('hidden')).toEqual(true); }); it('hides the emptyfiles notice when using filter()', function() { |