diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-19 10:51:57 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-19 10:51:57 +0100 |
commit | 6e096936e55d928030566dbe6cfa225213aa1977 (patch) | |
tree | a460f22315762efdd4b5a29cc8589c0e127c73ef /apps/files/tests/js/fileUploadSpec.js | |
parent | 930555bd5e349cddee9905d83d5435ae3b7a1ea4 (diff) | |
download | nextcloud-server-6e096936e55d928030566dbe6cfa225213aa1977.tar.gz nextcloud-server-6e096936e55d928030566dbe6cfa225213aa1977.zip |
update JS humanFileSize to use KB instead of kB
Diffstat (limited to 'apps/files/tests/js/fileUploadSpec.js')
-rw-r--r-- | apps/files/tests/js/fileUploadSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/tests/js/fileUploadSpec.js b/apps/files/tests/js/fileUploadSpec.js index 8a0d6b01952..0483d4649d4 100644 --- a/apps/files/tests/js/fileUploadSpec.js +++ b/apps/files/tests/js/fileUploadSpec.js @@ -102,7 +102,7 @@ describe('OC.Upload tests', function() { expect(failStub.calledOnce).toEqual(true); expect(failStub.getCall(0).args[1].textStatus).toEqual('sizeexceedlimit'); expect(failStub.getCall(0).args[1].errorThrown).toEqual( - 'Total file size 5 kB exceeds upload limit 1000 B' + 'Total file size 5 KB exceeds upload limit 1000 B' ); }); it('does not add file if it exceeds free space', function() { @@ -115,7 +115,7 @@ describe('OC.Upload tests', function() { expect(failStub.calledOnce).toEqual(true); expect(failStub.getCall(0).args[1].textStatus).toEqual('notenoughspace'); expect(failStub.getCall(0).args[1].errorThrown).toEqual( - 'Not enough free space, you are uploading 5 kB but only 1000 B is left' + 'Not enough free space, you are uploading 5 KB but only 1000 B is left' ); }); }); |