Squashed an extraneous warning in 82cascade_copy.t and fixed up 26dumper.t
[dbsrgits/DBIx-Class.git] / t / 82cascade_copy.t
index e5048a1..f0c302d 100644 (file)
@@ -14,7 +14,7 @@ my $artist_cds = $artist->search_related('cds');
 my $cover_band;
 
 {
-  no warnings 'redefine';
+  no warnings qw(redefine once);
   local *DBICTest::Artist::result_source_instance = \&DBICTest::Schema::Artist::result_source_instance;
 
   $cover_band = $artist->copy;