ADD: more tests
This commit is contained in:
parent
102139ebe3
commit
d76ad8da45
@ -89,7 +89,11 @@ sub tryToConnect
|
|||||||
{
|
{
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
my $dbh = DBI::connect($self->{dsn}, $self->{user}, $self->{pass});
|
my $dsn = $self->{dsn};
|
||||||
|
my $user = $self->{user};
|
||||||
|
my $pass = $self->{pass};
|
||||||
|
|
||||||
|
my $dbh = DBI::connect($dsn, $user , $pass );
|
||||||
|
|
||||||
if ($dbh->err())
|
if ($dbh->err())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user