diff options
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/report_new.t | 23 | ||||
-rw-r--r-- | t/app/controller/report_new_open311.t | 1 |
2 files changed, 1 insertions, 23 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index 8568e2e68..8a391f318 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -144,7 +144,6 @@ foreach my $test ( name => '', may_show_name => '1', username => '', - email => '', phone => '', password_sign_in => '', password_register => '', @@ -170,7 +169,6 @@ foreach my $test ( name => '', may_show_name => '1', username => '', - email => '', phone => '', category => 'Something bad', password_sign_in => '', @@ -199,7 +197,6 @@ foreach my $test ( name => '', may_show_name => '1', username => '', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -225,7 +222,6 @@ foreach my $test ( name => '', may_show_name => undef, username => '', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -251,7 +247,6 @@ foreach my $test ( name => 'Bob Jones', may_show_name => undef, username => '', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -276,7 +271,6 @@ foreach my $test ( name => 'Bob Jones', may_show_name => '1', username => '', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -301,7 +295,6 @@ foreach my $test ( name => 'Bob Jones', may_show_name => '1', username => '', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -326,7 +319,6 @@ foreach my $test ( name => 'DUDE', may_show_name => '1', username => '', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -350,7 +342,6 @@ foreach my $test ( name => 'anonymous', may_show_name => '1', username => '', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -374,13 +365,12 @@ foreach my $test ( name => 'Joe Smith', may_show_name => '1', username => 'not an email', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', password_register => '', }, - changes => { username => 'notanemail', email => 'notanemail' }, + changes => { username => 'notanemail' }, errors => [ 'Please enter a valid email', ], }, { @@ -395,7 +385,6 @@ foreach my $test ( name => '', may_show_name => '1', username => '', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -422,7 +411,6 @@ foreach my $test ( name => ' Bob Jones ', may_show_name => '1', username => ' BOB @ExAmplE.COM ', - email => '', phone => '', category => 'Street lighting', password_sign_in => '', @@ -431,7 +419,6 @@ foreach my $test ( changes => { name => 'Bob Jones', username => 'bob@example.com', - email => 'bob@example.com', }, errors => [ 'Please enter a subject', 'Please enter some details', ], }, @@ -447,7 +434,6 @@ foreach my $test ( name => 'Bob Jones', may_show_name => '1', username => 'bob@example.com', - email => 'bob@example.com', phone => '', category => 'Street lighting', password_sign_in => '', @@ -470,7 +456,6 @@ foreach my $test ( name => 'Bob Jones', may_show_name => '1', username => 'bob@example.com', - email => 'bob@example.com', phone => '', category => 'Street lighting', password_sign_in => '', @@ -493,7 +478,6 @@ foreach my $test ( name => 'Bob Jones', may_show_name => '1', username => 'bob@example.com', - email => 'bob@example.com', phone => '', category => 'Street lighting', password_sign_in => '', @@ -517,7 +501,6 @@ foreach my $test ( name => 'Bob Example', may_show_name => '1', username => 'bob@example.com', - email => 'bob@example.com', phone => '', category => 'Trees', password_sign_in => '', @@ -538,7 +521,6 @@ foreach my $test ( name => 'Bob Example', may_show_name => '1', username => 'bob@example.com', - email => 'bob@example.com', phone => '', category => 'Trees', password_sign_in => '', @@ -559,7 +541,6 @@ foreach my $test ( name => 'Bob Example', may_show_name => '1', username => 'bob@example.com', - email => 'bob@example.com', phone => '123456789 12345678910', category => 'Trees', password_sign_in => '', @@ -580,7 +561,6 @@ foreach my $test ( name => 'This is a very long name that should fail validation', may_show_name => '1', username => 'bob@example.com', - email => 'bob@example.com', phone => '', category => 'Street lighting', password_sign_in => '', @@ -601,7 +581,6 @@ foreach my $test ( name => 'This is a very long name that should fail validation', may_show_name => '1', username => 'bob@example.com', - email => 'bob@example.com', phone => '', category => 'Trees', password_sign_in => '', diff --git a/t/app/controller/report_new_open311.t b/t/app/controller/report_new_open311.t index e710e8ca8..22b4409b5 100644 --- a/t/app/controller/report_new_open311.t +++ b/t/app/controller/report_new_open311.t @@ -73,7 +73,6 @@ my $empty_form = { name => '', may_show_name => '1', username => '', - email => '', phone => '', category => '', password_sign_in => '', |