4 eval { require DateTime::Format::MySQL };
5 plan skip_all => "Need DateTime::Format::MySQL for inflation tests" if $@;
10 my $event = $schema->resultset("Event")->find(1);
12 isa_ok($event->starts_at, 'DateTime', 'DateTime returned');
14 is($event->starts_at, '2006-04-25T22:24:33', 'Correct date/time');