aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-21 17:52:03 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-21 17:52:03 +0100
commit324a85f188dab366102ef30976c5c6192a070047 (patch)
tree64089c66a854b684f52be0f3c58f7614c4a6c998
parent630ed304d67f83ecd8848bf665b03fd7c27fff46 (diff)
set gettext domain to stop intermittent test failures
-rw-r--r--t/map/tilma/original.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/map/tilma/original.t b/t/map/tilma/original.t
index bfc8c4327..b953a32b2 100644
--- a/t/map/tilma/original.t
+++ b/t/map/tilma/original.t
@@ -7,9 +7,12 @@ use FixMyStreet::App;
use FixMyStreet::Map;
use FixMyStreet::TestMech;
use DateTime;
+use mySociety::Locale;
my $mech = FixMyStreet::TestMech->new;
+mySociety::Locale::gettext_domain('FixMyStreet');
+
FixMyStreet::Map::set_map_class();
my $r = Catalyst::Request->new( { base => URI->new('/'), uri => URI->new('http://fixmystreet.com/test') } );