4 use lib 't/cdbi/testlib';
7 eval "use DBIx::Class::CDBICompat;";
8 plan skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@"
10 plan skip_all => "DateTime required" unless eval { require DateTime };
17 use base 'DBIC::Test::SQLite';
19 Thing->columns(All => qw[thing_id this that date]);
22 my $thing = Thing->construct({ thing_id => 23, date => "01-02-1994" });
23 my $date = DateTime->now;
25 $thing->set( date => $date );
26 $thing->set( date => $date );
31 $thing->discard_changes;