X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Model-DBIC-Schema.git;a=blobdiff_plain;f=t%2F07connect_info.t;h=bb5c9adfc139880165507f8d73657b78fc98984d;hp=e49dba1165c8e8f8d287c362c9e683a677104211;hb=2fa0a1f11f9a8e53c107f407e4bfdc8715114b23;hpb=788c27bea203bf41a44c35c7b2d584b27d86b199 diff --git a/t/07connect_info.t b/t/07connect_info.t index e49dba1..bb5c9ad 100644 --- a/t/07connect_info.t +++ b/t/07connect_info.t @@ -11,6 +11,8 @@ use ASchemaClass; # execise the connect_info coercion +my $coderef = sub {}; + my @tests = ( ['dbi:SQLite:foo.db', '', ''], { dsn => 'dbi:SQLite:foo.db', user => '', password => '' }, @@ -38,6 +40,9 @@ my @tests = ( pg_enable_utf8 => 1, auto_savepoint => 1 } ], { dsn => 'dbi:Pg:dbname=foo', user => 'user', password => 'pass', pg_enable_utf8 => 1, auto_savepoint => 1 }, + + [$coderef, { pg_enable_utf8 => 1, auto_savepoint => 1 }], + { dbh_maker => $coderef, pg_enable_utf8 => 1, auto_savepoint => 1 }, ); my @invalid = (