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

This commit is contained in:
JC Brand 2015-10-12 14:40:49 +00:00
parent 12d6785d02
commit 81391ff4a2
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,7 @@
connection.connected = false;
converse._tearDown();
converse.initialize({
i18n: window.locales.en,
bosh_service_url: 'localhost',
allow_registration: true,
auto_subscribe: false,
@ -41,6 +42,7 @@
connection.connected = false;
converse._tearDown();
converse.initialize({
i18n: window.locales.en,
animate: false,
auto_subscribe: false,
bosh_service_url: 'localhost',
@ -57,6 +59,7 @@
connection.connected = false;
converse._tearDown();
converse.initialize({
i18n: window.locales.en,
bosh_service_url: 'localhost',
allow_registration: true,
auto_subscribe: false,

View File

@ -42,6 +42,7 @@ require([
window.sessionStorage.clear();
converse.initialize({
i18n: window.locales.en,
auto_subscribe: false,
animate: false,
connection: mock.mock_connection,