5 use lib 't/cdbi/testlib';
6 use DBIC::Test::SQLite (); # this will issue the necessary SKIPs on missing reqs
9 eval { require DateTime; DateTime->VERSION(0.55) }
10 or plan skip_all => 'DateTime 0.55 required for this test';
16 use base 'DBIC::Test::SQLite';
18 Thing->columns(All => qw[thing_id this that date]);
21 my $thing = Thing->construct({ thing_id => 23, date => "01-02-1994" });
22 my $date = DateTime->now;
24 $thing->set( date => $date );
25 $thing->set( date => $date );
28 $thing->discard_changes;