projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Untangle strictly-DBICTest constant from the main constant set
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Replicated.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Replicated.pm
b/lib/DBIx/Class/Storage/DBI/Replicated.pm
index
7d61118
..
73998d2
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/Replicated.pm
+++ b/
lib/DBIx/Class/Storage/DBI/Replicated.pm
@@
-376,7
+376,8
@@
my $method_dispatch = {
)],
};
-if (DBIx::Class::_ENV_::DBICTEST) {
+# this only happens during DBIC-internal testing
+if ( $INC{"t/lib/ANFANG.pm"} ) {
my $seen;
for my $type (keys %$method_dispatch) {