ADD: more tests

This commit is contained in:
Dominik Meyer 2024-01-02 23:39:03 +01:00
parent 102139ebe3
commit d76ad8da45
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -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())
{ {