X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F93storage_replication.t;h=a2463e4a625d209c29d19a7aba6fe75531fecf5c;hb=1da8d083227d3db4dee8f6392d7d06a66fd7155c;hp=b85da4a6e1b5f6b56f685b4a60914bd55f749589;hpb=f404f53c20c515693dcee08cd6fa7cb69696d67c;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/93storage_replication.t b/t/93storage_replication.t index b85da4a..a2463e4 100644 --- a/t/93storage_replication.t +++ b/t/93storage_replication.t @@ -361,10 +361,7 @@ is $artist1->name, 'Ozric Tentacles' ## Check that master_read_weight is honored { - no warnings 'once'; - - # turn off redefined warning - local $SIG{__WARN__} = sub {}; + no warnings qw/once redefine/; local *DBIx::Class::Storage::DBI::Replicated::Balancer::Random::_random_number =