6 use Test
::More
'tests' => 4;
14 my $db = NewDB
->new();
25 $u = User
->new( id
=> $u->id );
26 $u->load( i18n
=> 'ru' );
27 ok
( $u->is_original );
29 $u->load_i18n( language
=> 'en' );
30 ok
( $u->is_original );
32 $u->i18n->signature( 'hello2' );
34 is
( $u->i18n->istran, 1 );
36 ok
( !$u->is_original );
38 $u->delete( cascade
=> 1 );