summaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-09-19 12:17:06 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-10-24 15:43:15 +0200
commit44cf67accdc294f46bf82b3f8661f353dc5e22f0 (patch)
tree4e0211076e1a7d9ee06e6f89429509114832be05 /apps/files/tests
parent729c06548fbfe035c14dae68c4b09494b292d217 (diff)
downloadnextcloud-server-44cf67accdc294f46bf82b3f8661f353dc5e22f0.tar.gz
nextcloud-server-44cf67accdc294f46bf82b3f8661f353dc5e22f0.zip
Storage 503 message improvements
"Storage not available" is now "Storage temporarily not available". Exceptions are now logged in DEBUG level, not FATAL.
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/js/filelistSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js
index 304f8438a59..16605927569 100644
--- a/apps/files/tests/js/filelistSpec.js
+++ b/apps/files/tests/js/filelistSpec.js
@@ -2668,7 +2668,7 @@ describe('OCA.Files.FileList tests', function() {
});
it('redirects to root folder and shows notification in case of storage not available', function () {
expect(notificationStub.notCalled).toEqual(true);
- deferredList.reject(503, 'Storage not available');
+ deferredList.reject(503, 'Storage is temporarily not available');
expect(fileList.getCurrentDirectory()).toEqual('/');
expect(getFolderContentsStub.calledTwice).toEqual(true);