From c565e2d0c9978c6810a07d5c2addf11ebf3a8c6f Mon Sep 17 00:00:00 2001 From: Alexander Hartmaier Date: Wed, 9 Feb 2011 16:48:19 +0100 Subject: [PATCH] fixed deprecated search condition --- t/lib/RunTests.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } ), -- 2.45.2