1 BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
2 use DBIx::Class::Optional::Dependencies -skip_all_without => qw( ic_dt cdbicompat );
8 use lib 't/cdbi/testlib';
10 # Don't use Test::NoWarnings because of an unrelated DBD::SQLite warning.
12 local $SIG{__WARN__} = sub {
19 use base 'DBIC::Test::SQLite';
21 Thing->columns(All => qw[thing_id this that date]);
24 my $thing = Thing->construct({ thing_id => 23, this => 42 });
25 $thing->set( this => undef );
26 is $thing->get( "this" ), undef, 'undef set';
27 $thing->discard_changes;
29 is @warnings, 0, 'no warnings';