aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/app/controller/contact.t2
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' ) {