X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Ftestlib%2FMyBase.pm;h=5dfbfedd89bbaf842e12d6d92bda550efc864046;hb=9381840da8471c9a17a0b641c99fd0b57178b839;hp=eeb7cf0d8dc08635568bd879059d46c5b976bda1;hpb=50891152d0b24649bfd67bdba97feec86b11c064;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/testlib/MyBase.pm b/t/cdbi/testlib/MyBase.pm index eeb7cf0..5dfbfed 100644 --- a/t/cdbi/testlib/MyBase.pm +++ b/t/cdbi/testlib/MyBase.pm @@ -8,9 +8,7 @@ use DBI; use vars qw/$dbh/; -# temporary, might get switched to the new test framework someday -my @connect = ("dbi:mysql:test", "", "", { PrintError => 0}); - +my @connect = (@ENV{map { "DBICTEST_MYSQL_${_}" } qw/DSN USER PASS/}, { PrintError => 0}); $dbh = DBI->connect(@connect) or die DBI->errstr; my @table;