diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-12-29 08:32:00 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-29 08:42:34 +0100 |
commit | 7f52754fe8a178a80f43682cf7dbd4abb631afcc (patch) | |
tree | 2e21d882f74870a9ea94961ece936eb98d5b6796 /core | |
parent | c7a320d880e8275ebbd7c96022d173381e154bf4 (diff) | |
download | nextcloud-server-7f52754fe8a178a80f43682cf7dbd4abb631afcc.tar.gz nextcloud-server-7f52754fe8a178a80f43682cf7dbd4abb631afcc.zip |
jsunit: Add proper lang tag to document
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/tests/specHelper.js | 1 |
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() { |