X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F65multipk.t;h=cd0e108ef3ecf2905d60707bdaf06a28d507d47c;hb=67341081b1a57cc8549e51a8fb1b8cd4661543c5;hp=084bb8eb8431bfc5921bf196dc49401f2f81c3fe;hpb=5d1d81d6f69aa466b3be77c221edd347db8b642f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/65multipk.t b/t/65multipk.t index 084bb8e..cd0e108 100644 --- a/t/65multipk.t +++ b/t/65multipk.t @@ -1,5 +1,5 @@ use strict; -use warnings; +use warnings; use Test::More; use lib qw(t/lib); @@ -9,7 +9,7 @@ my $schema = DBICTest->init_schema(); plan tests => 5; -my $artist = DBICTest::Artist->find(1); +my $artist = $schema->resultset("Artist")->find(1); ok($artist->find_related('twokeys', {cd => 1}), "find multiple pks using relationships + args"); ok($schema->resultset("FourKeys")->search({ foo => 1, bar => 2 })->find({ hello => 3, goodbye => 4 }), "search on partial key followed by a find");