Add missing deprecation warnings on m2m set_*, tighten up code
[dbsrgits/DBIx-Class.git] / t / relationship / custom.t
index 058636b..b9bf5fa 100644 (file)
@@ -301,7 +301,7 @@ for (qw( artist_limited_rank artist_limited_rank_opaque )) {
   );
 
   # can't use the opaque one - need set_from_related to work
-  $artwork->set_artist_limited_rank( @artists );
+  $artwork->set_artist_limited_rank( \@artists );
 
   {
     local $TODO = 'Taking into account the relationship bridge condition is not likely to ever work... unless we get DQ hooked somehow';