From c9500b5dc75640e5b17a9a0fb99e0ed19b738e13 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 29 Jul 2014 18:30:45 +0100 Subject: 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. --- t/app/controller/questionnaire.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/app/controller/questionnaire.t') 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?' ); -- cgit v1.2.3