update Form/Phone test to work with the update form API
This commit is contained in:
parent
75ea5c87de
commit
e430a2fe47
1 changed files with 2 additions and 2 deletions
|
|
@ -153,8 +153,8 @@ is($cntl->getValue(''), undef, '""');
|
|||
is($session->form->phone(undef,'123-123-1234'), '123-123-1234', 'valid');
|
||||
is($session->form->phone(undef,'123/123-1234'), undef, 'invalid');
|
||||
is($session->form->phone(undef,0), 0, 'zero');
|
||||
is($session->form->phone(undef,undef), undef, 'undef returns undef');
|
||||
is($session->form->phone(undef,''), undef, '""');
|
||||
is($session->form->phone(undef,undef), 0, 'undef returns returns 0');
|
||||
is($session->form->phone(undef,''), undef, 'empty string');
|
||||
|
||||
__END__
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue