Some stylistic test changes in preparation for next commits
[dbsrgits/DBIx-Class.git] / t / multi_create / multilev_single_PKeqFK.t
index ef5c9a8..9a5adbe 100644 (file)
@@ -59,7 +59,7 @@ for my $type (qw/has_one might_have/) {
   my $cd_title = "Test $type cd";
   my $artist_names = [ map { "Artist via $type $_" } (1, 2) ];
 
-  my $someartist = $artist_rs->next;
+  my $someartist = $artist_rs->search({}, { rows => 1 })->next;
 
   lives_ok (sub {
     my $cd = $schema->resultset('CD')->create ({