Update hash class unit tests, work on DB IO unit tests

This commit is contained in:
Clemens Schwaighofer
2022-02-25 18:08:10 +09:00
parent 780fdedcfd
commit 7a902b5681
4 changed files with 306 additions and 87 deletions

View File

@@ -178,7 +178,7 @@ class Login extends \CoreLibs\DB\IO
// set internal page name
$this->page_name = \CoreLibs\Get\System::getPageName();
// set db special errors
if ($this->db_init_error === true) {
if (!$this->dbGetConnectionStatus()) {
echo 'Could not connect to DB<br>';
// if I can't connect to the DB to auth exit hard. No access allowed
exit;