aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2013-09-05 12:36:03 +0100
committerEdmund von der Burg <evdb@mysociety.org>2013-09-10 15:40:07 +0100
commite4763fa9b0a2f12c9538b013420f7f29dbb4496a (patch)
tree978ff5b1128d8a4412ecfdd3a90598b80dcb29ef
parent0f0c8e92fa4930a6a951b856bf86e8bbf322a008 (diff)
[Zurich] Notes on steps required to get zurich tests to run
-rw-r--r--t/cobrand/zurich.t21
1 files changed, 21 insertions, 0 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index 721e6517a..9d9ffea7e 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -9,6 +9,24 @@ use Test::More;
plan skip_all => 'Skipping Zurich test without Zurich cobrand'
unless FixMyStreet::Cobrand->exists('zurich');
+# To run this test ensure that you have the following in general.yml:
+#
+# BASE_URL: 'http://zurich.127.0.0.1.xip.io'
+#
+# ALLOWED_COBRANDS:
+# - zurich
+#
+# SEND_REPORTS_ON_STAGING: 1
+#
+# Check that you have the required locale installed - the following
+# should return a line with de_CH.utf8 in. If not install that locale.
+#
+# locale -a | grep de_CH
+#
+# To generate the translations use:
+#
+# commonlib/bin/gettext-makemo FixMyStreet
+
use FixMyStreet::TestMech;
my $mech = FixMyStreet::TestMech->new;
@@ -44,6 +62,9 @@ my @reports = $mech->create_problems_for_body( 1, 2, 'Test', {
my $report = $reports[0];
$mech->get_ok( '/report/' . $report->id );
+#diag "------------------------------\n";
+#diag $mech->content();
+#diag "------------------------------\n";
$mech->content_contains('&Uuml;berpr&uuml;fung ausstehend');
# Check logging in to deal with this report