aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_import.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-09-30 22:14:48 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-09-30 22:14:48 +0100
commit8e9cd7cdb0a0f0fe591c2ecc25ae480fa0a5f799 (patch)
treede46361b23538b6ba9644898a9f5a55b4aeed9e4 /t/app/controller/report_import.t
parenta369e1c1a178697d0f92cf82c5bdb23c1883925e (diff)
parent83825ebf47cfd40ac649853347c8352944a3d32a (diff)
Merge branch 'phone-number-work'
Diffstat (limited to 't/app/controller/report_import.t')
-rw-r--r--t/app/controller/report_import.t6
1 files changed, 2 insertions, 4 deletions
diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t
index 47113198e..e4a202db7 100644
--- a/t/app/controller/report_import.t
+++ b/t/app/controller/report_import.t
@@ -362,14 +362,12 @@ subtest "Submit a correct entry (with location) to cobrand" => sub {
photo2 => '',
photo3 => '',
phone => '',
- email => 'test-ll@example.com',
+ username => 'test-ll@example.com',
},
"check imported fields are shown"
or diag Dumper( $mech->visible_form_values ); use Data::Dumper;
- my $user =
- FixMyStreet::App->model('DB::User')
- ->find( { email => 'test-ll@example.com' } );
+ my $user = FixMyStreet::App->model('DB::User')->find( { email => 'test-ll@example.com' } );
ok $user, "Found a user";
my $report = $user->problems->first;