X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest.pm;fp=t%2Flib%2FDBICTest.pm;h=0bbabbd9d1beb37b10a496aad424040f03b240cf;hb=3baacba6651b3ec616a8e6ee699298717c0854e2;hp=e642504c779fa5ad2b5deefdf3ba6ba12c507895;hpb=3a889a03955999c38eb4a152974522994eef72e4;p=dbsrgits%2FDBIx-Class-InflateColumn-IP.git diff --git a/t/lib/DBICTest.pm b/t/lib/DBICTest.pm index e642504..0bbabbd 100644 --- a/t/lib/DBICTest.pm +++ b/t/lib/DBICTest.pm @@ -55,7 +55,8 @@ sub init_schema { my $dbuser = $ENV{"DBICTEST_DBUSER"} || ''; my $dbpass = $ENV{"DBICTEST_DBPASS"} || ''; - my $schema = DBICTest::Schema->compose_connection('DBICTest' => $dsn, $dbuser, $dbpass); + my $schema = DBICTest::Schema->compose_namespace('DBICTest') + ->connect($dsn, $dbuser, $dbpass); $schema->storage->on_connect_do(['PRAGMA synchronous = OFF']); if ( !$args{no_deploy} ) { __PACKAGE__->deploy_schema( $schema );