X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F60core.t;h=0420a9fc5f9eca5e79023efb2c7c53c80e08c482;hb=d0289ee13bb30b44fbdc541cc796174c40929bc4;hp=d01a5fd8ddf4baeb26cefe393830147cf8fc748d;hpb=90a5b0237843707bba83646e8d14f6bf4b782ba5;p=dbsrgits%2FDBIx-Class.git diff --git a/t/60core.t b/t/60core.t index d01a5fd..0420a9f 100644 --- a/t/60core.t +++ b/t/60core.t @@ -125,19 +125,8 @@ warnings_exist { $schema->resultset('Artist')->search_rs(id => 4) } qr/\Qsearch( %condition ) is deprecated/, 'Deprecation warning on ->search( %condition )'; -# this has been warning for 4 years, killing -throws_ok { - $schema->resultset('Artist')->find(artistid => 4); -} qr|expects either a column/value hashref, or a list of values corresponding to the columns of the specified unique constraint|; - is($schema->resultset("Artist")->count, 4, 'count ok'); -# test find on an unresolvable condition -is( - $schema->resultset('Artist')->find({ artistid => [ -and => 1, 2 ]}), - undef -); - # test find_or_new {