1 BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
12 my $schema = DBICTest->init_schema();
13 my $rs = $schema->resultset('Artist');
21 is( $rs->find({ artistid => $id })->id, 2 )
22 } "Correctly found artist with id of @{[ explain $id ]}";
30 my $cond = { artistid => { '=', $id } };
32 is( $rs->find($cond)->id, 2 )
33 } "Correctly found artist with id of @{[ explain $cond ]}";