aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/questionnaire.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-07-29 18:30:45 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-07-29 22:32:02 +0100
commitc9500b5dc75640e5b17a9a0fb99e0ed19b738e13 (patch)
tree34c03315fe094b4287d013cd8c622816f73e650a /t/app/controller/questionnaire.t
parentb7a28df2080b95a0fd457a5525505e3039f4e12b (diff)
Some tweaks for Travis timeout errors.
Hopefully this will reduce the chance of a timeout: * Wrap admin body tests in MapIt override. * Use full hostname to save a redirect each time.
Diffstat (limited to 't/app/controller/questionnaire.t')
-rw-r--r--t/app/controller/questionnaire.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/questionnaire.t b/t/app/controller/questionnaire.t
index 6ee7ba58f..fb9e28859 100644
--- a/t/app/controller/questionnaire.t
+++ b/t/app/controller/questionnaire.t
@@ -419,7 +419,7 @@ FixMyStreet::override_config {
}
);
ok $questionnaire2, 'added another questionnaire';
- ok $mech->host("fixmystreet.com"), 'change host to fixmystreet';
+ ok $mech->host("www.fixmystreet.com"), 'change host to fixmystreet';
$mech->get_ok("/Q/" . $token);
$mech->title_like( qr/Questionnaire/ );
$mech->content_contains( 'Has this problem been fixed?' );