Commit 81391ff4 authored by JC Brand's avatar JC Brand

Ensure that tests execute with 'en' locale. refs #501

parent 12d6785d
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
connection.connected = false; connection.connected = false;
converse._tearDown(); converse._tearDown();
converse.initialize({ converse.initialize({
i18n: window.locales.en,
bosh_service_url: 'localhost', bosh_service_url: 'localhost',
allow_registration: true, allow_registration: true,
auto_subscribe: false, auto_subscribe: false,
...@@ -41,6 +42,7 @@ ...@@ -41,6 +42,7 @@
connection.connected = false; connection.connected = false;
converse._tearDown(); converse._tearDown();
converse.initialize({ converse.initialize({
i18n: window.locales.en,
animate: false, animate: false,
auto_subscribe: false, auto_subscribe: false,
bosh_service_url: 'localhost', bosh_service_url: 'localhost',
...@@ -57,6 +59,7 @@ ...@@ -57,6 +59,7 @@
connection.connected = false; connection.connected = false;
converse._tearDown(); converse._tearDown();
converse.initialize({ converse.initialize({
i18n: window.locales.en,
bosh_service_url: 'localhost', bosh_service_url: 'localhost',
allow_registration: true, allow_registration: true,
auto_subscribe: false, auto_subscribe: false,
......
...@@ -42,6 +42,7 @@ require([ ...@@ -42,6 +42,7 @@ require([
window.sessionStorage.clear(); window.sessionStorage.clear();
converse.initialize({ converse.initialize({
i18n: window.locales.en,
auto_subscribe: false, auto_subscribe: false,
animate: false, animate: false,
connection: mock.mock_connection, connection: mock.mock_connection,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment