Chado/DBManager/Testpg.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 31 CC 1 SCAR 6.9
CC
1
Cov
0%
_build_dbh
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Test::Chado::DBManager::Testpg;
2 {
3 $Test::Chado::DBManager::Testpg::VERSION = 'v4.1.1';
4 }
5  
6 use namespace::autoclean;
7 use Moo;
8 use DBI;
9 use Test::PostgreSQL;
10 extends qw/Test::Chado::DBManager::Pg/;
11  
12 sub _build_dbh {
13 my ($self) = @_;
14 my $pg = Test::PostgreSQL->new or die $Test::PostgreSQL::errstr;
15 $self->dsn( $pg->dsn );
16 my $dbh = DBI->connect( $self->dsn, $self->user, $self->password,
17 $self->dbi_attributes );
18 $dbh->do(qq{SET client_min_messages=WARNING});
19 return $dbh;
20 }
21  
22 1;
23  
24 __END__