Bug 11221: (follow-up) test for NULL rather than empty string
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
11fbcb30de
commit
15812e80c8
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ ok ( $member->{firstname} eq $FIRSTNAME &&
|
|||
, "Got member")
|
||||
or diag("Mismatching member details: ".Dumper(\%data, $member));
|
||||
|
||||
ok($member->{dateofbirth} eq '', "Empty dates handled correctly");
|
||||
is($member->{dateofbirth}, undef, "Empty dates handled correctly");
|
||||
|
||||
$member->{firstname} = $CHANGED_FIRSTNAME;
|
||||
$member->{email} = $EMAIL;
|
||||
|
|
Loading…
Reference in a new issue