diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-07 12:24:35 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-07 12:24:35 +0100 |
commit | 719afb490479aa1cbc306b81a7534bb8a8affbf3 (patch) | |
tree | 279a62f2ca07dca5231fffd6759daf5113ead1f5 /t | |
parent | 8a6a4ccb789f5f638a5c969ffeecc0ca047095a1 (diff) | |
parent | 490b54e86631312448235edca486c9ff85033459 (diff) |
Merge branch 'issues/commercial/864-update-contact-form'
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/contact.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/controller/contact.t b/t/app/controller/contact.t index d98d81868..0e87eb4cc 100644 --- a/t/app/controller/contact.t +++ b/t/app/controller/contact.t @@ -210,6 +210,7 @@ for my $test ( # we santise this when we submit so need to remove it delete $test->{fields}->{id} if $test->{fields}->{id} and $test->{fields}->{id} eq 'invalid'; + $test->{fields}->{'extra.phone'} = ''; is_deeply $mech->visible_form_values, $test->{fields}, 'form values'; }; } @@ -323,6 +324,7 @@ for my $test ( # we santise this when we submit so need to remove it delete $test->{fields}->{id} if $test->{fields}->{id} and $test->{fields}->{id} eq 'invalid'; + $test->{fields}->{'extra.phone'} = ''; is_deeply $mech->visible_form_values, $test->{fields}, 'form values'; if ( $test->{fields}->{dest} and $test->{fields}->{dest} eq 'update' ) { |