X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fmulti_create%2Fin_memory.t;h=9533af506c2b0208ac7b53a316500aba5027a1c1;hb=a6543cfa5769989102af82b5308e23a4ebd3d24d;hp=25d290afb378cce52d2e9369ff8900b4a81506be;hpb=0a03206ab54cce5df165c4703bcf8a43252e46ba;p=dbsrgits%2FDBIx-Class.git diff --git a/t/multi_create/in_memory.t b/t/multi_create/in_memory.t index 25d290a..9533af5 100644 --- a/t/multi_create/in_memory.t +++ b/t/multi_create/in_memory.t @@ -75,7 +75,7 @@ my $schema = DBICTest->init_schema(); # test both sides of a 1:(1|0) { for my $reldir ('might_have', 'belongs_to') { - my $artist = $schema->resultset('Artist')->next; + my $artist = $schema->resultset('Artist')->find(1); my $new_track = $schema->resultset('Track')->new ({ title => "$reldir: First track of latest cd",