aboutsummaryrefslogtreecommitdiffstats
path: root/bin/test-run
diff options
context:
space:
mode:
Diffstat (limited to 'bin/test-run')
-rwxr-xr-xbin/test-run5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/test-run b/bin/test-run
index 5607bb5ef..322aa563a 100755
--- a/bin/test-run
+++ b/bin/test-run
@@ -18,7 +18,7 @@
# Admin
# Whatever I've missed!
-my $rcsid = ''; $rcsid .= '$Id: test-run,v 1.26 2009-10-22 15:10:51 matthew Exp $';
+my $rcsid = ''; $rcsid .= '$Id: test-run,v 1.27 2009-10-22 15:32:11 matthew Exp $';
use strict;
require 5.8.0;
@@ -230,7 +230,7 @@ sub submit_report {
'tile_' . $x . '.' . $y . '.y' => 158,
submit_map => 1});
$wth->browser_check_contents('<h1>' . $messages[1] . '</h1>');
- my $fields = { submit_problem => 'Submit',
+ my $fields = { submit_map => 1,
x => $x,
y => $y,
pc => $postcode,
@@ -252,6 +252,7 @@ sub submit_report {
$fields->{council} = $council;
}
$wth->browser_submit_form(form_name => 'mapForm',
+ button => 'submit_problem',
fields => $fields
);
}