summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specHelper.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/tests/specHelper.js')
-rw-r--r--core/js/tests/specHelper.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js
index 970b278089d..7dcc321f296 100644
--- a/core/js/tests/specHelper.js
+++ b/core/js/tests/specHelper.js
@@ -86,11 +86,11 @@ window.firstDay = 0;
// setup dummy webroots
/* jshint camelcase: false */
window.oc_debug = true;
-// FIXME: oc_webroot is supposed to be only the path!!!
-window.oc_webroot = location.href + '/';
+// FIXME: OC.webroot is supposed to be only the path!!!
+OC.webroot = location.href + '/';
window.oc_appswebroots = {
- "files": window.oc_webroot + '/apps/files/',
- "files_sharing": window.oc_webroot + '/apps/files_sharing/'
+ "files": window.webroot + '/apps/files/',
+ "files_sharing": window.webroot + '/apps/files_sharing/'
};
OC.config = {
session_lifetime: 600 * 1000,