X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frelationship%2Fupdate_or_create_multi.t;h=871004893a918ebbb69a5a4efb43d081a69755f7;hb=fb88ca2c;hp=25dfe79eb61fc3e8f9af2d7a589c3d01126b002d;hpb=1759f82f9191bd4ec6ad743d066082242ddbce39;p=dbsrgits%2FDBIx-Class.git diff --git a/t/relationship/update_or_create_multi.t b/t/relationship/update_or_create_multi.t index 25dfe79..8710048 100644 --- a/t/relationship/update_or_create_multi.t +++ b/t/relationship/update_or_create_multi.t @@ -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' });