Fix tests failing due to unspecified resultset retrieval order
[dbsrgits/DBIx-Class-Historic.git] / t / update / ident_cond.t
index b79d56b..d7d4cf0 100644 (file)
@@ -7,7 +7,7 @@ use DBICTest;
 
 my $schema = DBICTest->init_schema();
 
-my $artist = $schema->resultset('Artist')->next;
+my $artist = $schema->resultset('Artist')->find(1);
 
 is_deeply(
   [ $artist->id, $artist->ident_condition, $artist->_storage_ident_condition ],