aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-21 11:19:18 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-21 11:19:18 +0000
commit6722cb5711e23a0e801e415bb3928adf7eafaec8 (patch)
tree7dd85277c3461cdbc46c9f7b2fac74947bf518dd
parent39d0d25d29def55bf2499da20cf291d3a020c962 (diff)
Store lat/lon manually in test.
-rwxr-xr-xbin/test-run10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/test-run b/bin/test-run
index 1c41e7c3a..e7baf62fa 100755
--- a/bin/test-run
+++ b/bin/test-run
@@ -391,10 +391,7 @@ sub do_alert {
my $e = 325066;
my $n = 673533;
- # get the lat,lon from the postcode so that it matches
- my ( $lat, $lon ) =
- map { Utils::truncate_coordinate($_) }
- FixMyStreet::Geocode::lookup( $postcode, undef );
+ my ( $lat, $lon ) = (55.948967, -3.201478);
my $messages = english_fms_messages();
submit_postcode('', $postcode, 'Problems in this area');
@@ -437,10 +434,7 @@ sub do_eha_alert {
my $x = 2015; my $e = 325066;
my $y = 4175; my $n = 673533;
- # get the lat,lon from the postcode so that it matches
- my ( $lat, $lon ) =
- map { Utils::truncate_coordinate($_) }
- FixMyStreet::Geocode::lookup( $postcode, undef );
+ my ( $lat, $lon ) = (55.948967, -3.201478);
my @texts = ('Eiddo gwag yn yr ardal hon',
'Adrodd am eiddo gwag',