aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarak <[email protected]>2014-09-15 07:11:37 +0200
committerMarak <[email protected]>2014-09-15 07:11:37 +0200
commit8d85a6630489f914ca78ab770bcdaed7614fa7b0 (patch)
tree7156a8386e6a6f6b8809bbac0f5ad564374babca
parent030ae85986b7e06f0f049cf76f728c9c7e56f510 (diff)
downloadfaker-8d85a6630489f914ca78ab770bcdaed7614fa7b0.tar.xz
faker-8d85a6630489f914ca78ab770bcdaed7614fa7b0.zip
[tests] [fix] Set locale back to en to make phone test pass
-rw-r--r--test/phone_number.unit.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/phone_number.unit.js b/test/phone_number.unit.js
index 4764c87b..b49ad9cf 100644
--- a/test/phone_number.unit.js
+++ b/test/phone_number.unit.js
@@ -18,6 +18,7 @@ describe("phone_number.js", function () {
});
describe("phoneNumberFormat()", function () {
+ faker.locale = "en";
it("returns phone number with requested format (Array index)", function () {
for (var i = 0; i < 10; i++) {
var phone_number = faker.phone.phoneNumberFormat(1);