Don't rely on connect_info(), instead fetch the dsn from _dbi_connect_info (which...
[dbsrgits/DBIx-Class.git] / t / 32connect_code_ref.t
index 9fe0e60..8e174fa 100644 (file)
@@ -11,7 +11,7 @@ plan tests => 1;
 my $normal_schema = DBICTest->init_schema( sqlite_use_file => 1 );
 
 # Steal the dsn, which should be like 'dbi:SQLite:t/var/DBIxClass.db'
-my $normal_dsn = $normal_schema->storage->connect_info->[0];
+my $normal_dsn = $normal_schema->storage->_dbi_connect_info->[0];
 
 # Make sure we have no active connection
 $normal_schema->storage->disconnect;