projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e8b32a6
)
wtf
Peter Rabbitson [Thu, 18 Jun 2009 12:05:42 +0000 (12:05 +0000)]
t/93storage_replication.t
patch
|
blob
|
blame
|
history
diff --git
a/t/93storage_replication.t
b/t/93storage_replication.t
index
b85da4a
..
a2463e4
100644
(file)
--- 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 =