Skip to content

Commit

Permalink
wip: install tables when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed May 17, 2023
1 parent dd1e73a commit 9980e00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/lib/Test/Ravada.pm
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,13 @@ sub rvd_back($config=undef, $init=1, $sqlite=1) {
$rvd->_update_isos();
} else {
$CONNECTOR = $rvd->connector;
my $sth = $CONNECTOR->dbh->table_info('%',undef,'users','TABLE');
my $info = $sth->fetchrow_hashref();
$sth->finish;
if (!$info) {
$rvd->_install();
$rvd->_update_isos();
}
}

user_admin();
Expand Down

0 comments on commit 9980e00

Please sign in to comment.