diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2021-05-10 09:22:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 09:22:39 +0200 |
commit | 99e6849906fea1ee3402a8e3ad9dcca356600d70 (patch) | |
tree | c442dc4f459b9f547824b305f1c12366c5ac85a1 /apps/files/tests | |
parent | 73a616101b63a321d56d756ae138fe0733c782e3 (diff) | |
download | nextcloud-server-99e6849906fea1ee3402a8e3ad9dcca356600d70.tar.gz nextcloud-server-99e6849906fea1ee3402a8e3ad9dcca356600d70.zip |
Change the values in test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/js/filesummarySpec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/tests/js/filesummarySpec.js b/apps/files/tests/js/filesummarySpec.js index f11ad27ed59..8fe0ab2241f 100644 --- a/apps/files/tests/js/filesummarySpec.js +++ b/apps/files/tests/js/filesummarySpec.js @@ -103,7 +103,7 @@ describe('OCA.Files.FileSummary tests', function() { expect($container.hasClass('hidden')).toEqual(false); expect($container.find('.dirinfo').text()).toEqual('5 folders'); expect($container.find('.fileinfo').text()).toEqual('2 files'); - expect($container.find('.filter').text()).toEqual(' match \'foo\''); + expect($container.find('.filter').text()).toEqual(' match "foo"'); expect($container.find('.filesize').text()).toEqual('250 KB'); }); it('hides filtered summary when no files or folders', function() { @@ -132,7 +132,7 @@ describe('OCA.Files.FileSummary tests', function() { expect($container.hasClass('hidden')).toEqual(false); expect($container.find('.dirinfo').text()).toEqual('6 folders'); expect($container.find('.fileinfo').text()).toEqual('3 files'); - expect($container.find('.filter').text()).toEqual(' match \'foo\''); + expect($container.find('.filter').text()).toEqual(' match "foo"'); expect($container.find('.filesize').text()).toEqual('500 KB'); expect(s.summary.totalDirs).toEqual(6); expect(s.summary.totalFiles).toEqual(3); @@ -154,7 +154,7 @@ describe('OCA.Files.FileSummary tests', function() { expect($container.hasClass('hidden')).toEqual(false); expect($container.find('.dirinfo').text()).toEqual('4 folders'); expect($container.find('.fileinfo').text()).toEqual('1 file'); - expect($container.find('.filter').text()).toEqual(' match \'foo\''); + expect($container.find('.filter').text()).toEqual(' match "foo"'); expect($container.find('.filesize').text()).toEqual('125 KB'); expect(s.summary.totalDirs).toEqual(4); expect(s.summary.totalFiles).toEqual(1); |