Fix tests failing due to unspecified resultset retrieval order
[dbsrgits/DBIx-Class.git] / t / relationship / update_or_create_multi.t
index 25dfe79..8710048 100644 (file)
@@ -11,7 +11,7 @@ use DBIC::SqlMakerTest;
 my $schema = DBICTest->init_schema();
 my $sdebug = $schema->storage->debug;
 
-my $artist = $schema->resultset ('Artist')->first;
+my $artist = $schema->resultset ('Artist')->find(1);
 
 my $genre = $schema->resultset ('Genre')
             ->create ({ name => 'par excellence' });