Fix tests failing due to unspecified resultset retrieval order
[dbsrgits/DBIx-Class.git] / t / 80unique.t
index 7f78ef5..ba5a181 100644 (file)
@@ -226,7 +226,7 @@ is($row->baz, 3, 'baz is correct');
 
 # make sure the ident condition is assembled sanely
 {
-  my $artist = $schema->resultset('Artist')->next;
+  my $artist = $schema->resultset('Artist')->find(1);
 
   my ($sql, @bind);
   my $old_debugobj = $schema->storage->debugobj;