Handle assets that can't be instanciated in ExtendCalendarRecurrences. Fixes bug #11956.

This commit is contained in:
Colin Kuskie 2010-11-10 08:46:08 -08:00
parent 0acdcbc52b
commit ce7a7394b5
3 changed files with 6 additions and 1 deletions

View file

@ -97,7 +97,7 @@ my $sql = q{
my $dates = $session->db->buildArrayRefOfHashRefs($sql, [$calendar->getId]);
# 3 years at every other month (6 times) plus the one we started with
is(@$dates, 19) or diag Dumper $dates;
is(@$dates, 19, 'created right number of dates') or diag Dumper $dates;
done_testing;