aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-25 12:44:30 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-25 12:45:45 +0100
commita51c4dff85fa403978a313b4330081fd3ca9993c (patch)
tree658ddbe1d0322ef85877bc5d21258d9bd06724e3 /perllib
parent2d7d19048e568ddd78fa4c6929a0c0ec896df3b8 (diff)
Make sure gettext domain specified in all tests.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Test.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Test.pm b/perllib/FixMyStreet/Test.pm
index 6b6bc02bc..572ae0a44 100644
--- a/perllib/FixMyStreet/Test.pm
+++ b/perllib/FixMyStreet/Test.pm
@@ -6,6 +6,7 @@ use strict;
use warnings FATAL => 'all';
use utf8;
use Test::More;
+use mySociety::Locale;
use FixMyStreet::DB;
my $db = FixMyStreet::DB->schema->storage;
@@ -21,6 +22,7 @@ sub import {
BEGIN {
use FixMyStreet;
FixMyStreet->test_mode(1);
+ mySociety::Locale::gettext_domain('FixMyStreet', 1);
}
END {