Merge 'find_compat' into 'DBIx-Class-current'
[dbsrgits/DBIx-Class.git] / t / 80unique.t
index 6540333..18a41f2 100644 (file)
@@ -101,7 +101,6 @@ is($cd7->year, $cd1->year, 'year is correct');
 my $artist = $schema->resultset('Artist')->find($artistid);
 my $cd8 = $artist->find_or_create_related('cds',
   {
-    artist => $artistid,
     title  => $title,
     year   => 2020,
   },
@@ -115,7 +114,6 @@ is($cd8->year, $cd1->year, 'year is correct');
 
 my $cd9 = $artist->update_or_create_related('cds',
   {
-    artist => $artistid,
     title  => $title,
     year   => 2021,
   },