summaryrefslogtreecommitdiffstats
path: root/core/js/tests
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-02-24 09:45:02 +0100
committerVincent Petry <pvince81@owncloud.com>2014-02-24 09:45:02 +0100
commit80c61d480cfe0964707a9044738526a853c1211f (patch)
treedec314c3786ee82f879338e9bc6935a71fe82248 /core/js/tests
parent59ec61dc0327fe8af0a32739ded13971936d4c1b (diff)
downloadnextcloud-server-80c61d480cfe0964707a9044738526a853c1211f.tar.gz
nextcloud-server-80c61d480cfe0964707a9044738526a853c1211f.zip
Added oc_defaults stub in specHelper.js
This is needed for JS Unit tests to run properly as they are expecting the new "oc_default" map to exist.
Diffstat (limited to 'core/js/tests')
-rw-r--r--core/js/tests/specHelper.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js
index 1848d08354e..b1193240580 100644
--- a/core/js/tests/specHelper.js
+++ b/core/js/tests/specHelper.js
@@ -63,6 +63,7 @@ window.oc_config = {
session_lifetime: 600 * 1000,
session_keepalive: false
};
+window.oc_defaults = {};
// global setup for all tests
(function setupTests() {