]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blobdiff - t/lib/RunTests.pm
fixed deprecated search condition
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / RunTests.pm
index 4094bbe7093555047804126c3010228847f3e70d..4f9c614a9787c69ce614139f4994a9b751d9b3fd 100644 (file)
@@ -166,7 +166,7 @@ sub run_tests {
         'Twokeys created'
     );
     my $onekey =
         '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 } ),
     ok( $onekey, 'Onekey created' );
     ok( $schema->resultset('Twokeys_belongsto')
             ->find( { key1 => $onekey->id, key2 => 1 } ),
This page took 0.016642 seconds and 4 git commands to generate.