projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Harmonize DBICTEST_VIA_REPLICATED detection in tests
[dbsrgits/DBIx-Class-Historic.git]
/
t
/
storage
/
dbh_do.t
diff --git
a/t/storage/dbh_do.t
b/t/storage/dbh_do.t
index
1511f82
..
07453ea
100644
(file)
--- a/
t/storage/dbh_do.t
+++ b/
t/storage/dbh_do.t
@@
-10,10
+10,8
@@
use DBICTest;
my $schema = DBICTest->init_schema();
my $storage = $schema->storage;
-
$storage = $storage->master
- if $ENV{DBICTEST_VIA_REPLICATED};
-
+ if $storage->isa('DBIx::Class::Storage::DBI::Replicated');
# test (re)connection
for my $disconnect (0, 1) {