From: Alexander Hartmaier Date: Wed, 9 Feb 2011 15:48:19 +0000 (+0100) Subject: fixed deprecated search condition X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c565e2d0c9978c6810a07d5c2addf11ebf3a8c6f;p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate fixed deprecated search condition --- diff --git a/t/lib/RunTests.pm b/t/lib/RunTests.pm index 4094bbe..4f9c614 100644 --- a/t/lib/RunTests.pm +++ b/t/lib/RunTests.pm @@ -166,7 +166,7 @@ sub run_tests { 'Twokeys created' ); my $onekey = - $schema->resultset('Onekey')->search( name => 'aaaaa' )->first; + $schema->resultset('Onekey')->search({ name => 'aaaaa' })->first; ok( $onekey, 'Onekey created' ); ok( $schema->resultset('Twokeys_belongsto') ->find( { key1 => $onekey->id, key2 => 1 } ),