8 eval "use DBD::SQLite";
9 plan skip_all
=> "DBD::SQLite is required to run this test" if $@
;
19 my $db = NewDB
->new();
31 $u = User
->new( id
=> $id );
33 query
=> [ 't2.lang' => 'ru' ],
34 with
=> [ 'user_i18n' ]
37 is
( $u->name, 'barfoo' );
39 is
( $u->i18n->lang, 'ru' );
41 $u->delete( cascade
=> 1 );