2 use Test::More tests => 2;
10 my $db = NewDB->new();
14 my $form = Form->new();
16 ok( $form->validate( { name => 'tom' } ) );
18 my $item = $form->update_from_form();
21 my $u = User->new( name => 'tom' );
22 $u->load( speculative => 1 );
23 is( $u->not_found, 0 );