]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
fixed deprecated search condition
authorAlexander Hartmaier <abraxxa@cpan.org>
Wed, 9 Feb 2011 15:48:19 +0000 (16:48 +0100)
committerAlexander Hartmaier <abraxxa@cpan.org>
Wed, 9 Feb 2011 15:48:19 +0000 (16:48 +0100)
t/lib/RunTests.pm

index 4094bbe7093555047804126c3010228847f3e70d..4f9c614a9787c69ce614139f4994a9b751d9b3fd 100644 (file)
@@ -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 } ),
This page took 0.027473 seconds and 4 git commands to generate.