Skip to content

Commit

Permalink
Stop spurious warnings in cdbi test
Browse files Browse the repository at this point in the history
  • Loading branch information
ribasushi committed Nov 12, 2010
1 parent 4216833 commit ede573a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/cdbi/68-inflate_has_a.t
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ my $now = DateTime->now;
$cd->year( $now );
$cd->update;

($cd) = $schema->resultset("CD")->search( year => $now->year );
($cd) = $schema->resultset("CD")->search({ year => $now->year });
is( $cd->year->year, $now->year, 'deflate ok' );

# re-test using alternate deflate syntax
Expand All @@ -56,6 +56,6 @@ $now = DateTime->now;
$cd->year( $now );
$cd->update;

($cd) = $schema->resultset("CD")->search( year => $now->year );
($cd) = $schema->resultset("CD")->search({ year => $now->year });
is( $cd->year->year, $now->year, 'deflate ok' );

0 comments on commit ede573a

Please sign in to comment.