aboutsummaryrefslogtreecommitdiffstats
path: root/bin/oxfordshire
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-12-19 09:34:27 +0000
committerDave Whiteland <dave@mysociety.org>2012-12-19 09:34:27 +0000
commitcb5430eadf420546b438ef84390ed6970d6ae58b (patch)
tree9fa340afc6f0071c661e50267b28a8709a162dec /bin/oxfordshire
parentdcdc289eed936a1eb199287aacc98f3edadaf7f6 (diff)
tiny changes to testing data
Diffstat (limited to 'bin/oxfordshire')
-rwxr-xr-xbin/oxfordshire/open311_service_request.cgi8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/oxfordshire/open311_service_request.cgi b/bin/oxfordshire/open311_service_request.cgi
index 1daa8d834..a647008de 100755
--- a/bin/oxfordshire/open311_service_request.cgi
+++ b/bin/oxfordshire/open311_service_request.cgi
@@ -54,9 +54,9 @@ my $STORED_PROC_NAME = 'PEM.create_enquiry';
# 'normal' keeps tabs and newlines
my $STRIP_CONTROL_CHARS = 'normal';
-my $TESTING_WRITE_TO_FILE = 0; # write to file instead of DB
-my $OUT_FILENAME = "fms-test.txt";
-my $TEST_SERVICE_DISCOVERY=0; # switch to 1 to run service discovery, which confirms the DB connection at least
+my $TESTING_WRITE_TO_FILE = 0; # write to file instead of DB
+my $OUT_FILENAME = "fms-test.txt";
+my $TEST_SERVICE_DISCOVERY = 0; # switch to 1 to run service discovery, which confirms the DB connection at least
# Config file overrides existing values for these, if present:
if ($CONFIG_FILENAME && open(CONF, $CONFIG_FILENAME)) {
@@ -427,6 +427,8 @@ sub get_FAKE_INSERT {
$F{'NORTHING'} => '206709',
$F{'SERVICE_CODE'} => 'OT',
$F{'MEDIA_URL'} => 'http://www.example.com/pothole.jpg',
+ $F{'POSTCODE'} => 'OX20 1SZ',
+ $F{'NEAREST_STREET'} => 'Testit Street'
);
return insert_into_pem(\%fake_data)
}