summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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 72d42dfc58a..d8ac35f827d 100644
--- a/core/js/tests/specHelper.js
+++ b/core/js/tests/specHelper.js
@@ -117,6 +117,7 @@ window.Snap.prototype = {
};
window.isPhantom = /phantom/i.test(navigator.userAgent);
+document.documentElement.lang = navigator.language;
// global setup for all tests
(function setupTests() {