aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_import.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-27 09:18:18 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-27 09:18:18 +0100
commitb483a17c13ba8e273949ce4ee8c8c05e66b06647 (patch)
tree3e928fa68c3edb90c0666ec52ad8c9982f9dab77 /t/app/controller/report_import.t
parent8deb709fa2d44bcbaba54734f7f4f4385980d8df (diff)
parent62ffebc89cc66d32a828ea1de8c850c3e950faa1 (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet into new_statuses
Conflicts: perllib/FixMyStreet/DB/Result/Comment.pm perllib/FixMyStreet/DB/Result/User.pm web/css/core.css
Diffstat (limited to 't/app/controller/report_import.t')
-rw-r--r--t/app/controller/report_import.t8
1 files changed, 2 insertions, 6 deletions
diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t
index 154de13d8..ba73b2555 100644
--- a/t/app/controller/report_import.t
+++ b/t/app/controller/report_import.t
@@ -119,7 +119,6 @@ subtest "Submit a correct entry" => sub {
is_deeply $mech->visible_form_values,
{
name => 'Test User',
- email => 'test@example.com',
title => 'Test report',
detail => 'This is a test report',
photo => '',
@@ -134,7 +133,6 @@ subtest "Submit a correct entry" => sub {
{
with_fields => {
name => 'New Test User',
- email => 'test@example.com',
title => 'New Test report',
detail => 'This is a test report',
phone => '01234 567 890',
@@ -193,14 +191,13 @@ subtest "Submit a correct entry (with location)" => sub {
# go to the token url
$mech->get_ok($token_url);
- # check that we are on '/around'
- is $mech->uri->path, '/report/new', "sent to /around";
+ # check that we are on '/report/new'
+ is $mech->uri->path, '/report/new', "sent to /report/new";
# check that fields are prefilled for us
is_deeply $mech->visible_form_values,
{
name => 'Test User ll',
- email => 'test-ll@example.com',
title => 'Test report ll',
detail => 'This is a test report ll',
photo => '',
@@ -215,7 +212,6 @@ subtest "Submit a correct entry (with location)" => sub {
{
with_fields => {
name => 'New Test User ll',
- email => 'test-ll@example.com',
title => 'New Test report ll',
detail => 'This is a test report ll',
phone => '01234 567 890',