Fix TestCalls class folder name based on namespace

This commit is contained in:
Clemens Schwaighofer
2023-10-04 18:26:38 +09:00
parent e9799f888b
commit 2f81009a97
4 changed files with 4 additions and 4 deletions
+54
View File
@@ -0,0 +1,54 @@
<?php
/*
* TEST sets for DB::IO
*/
namespace TestCalls\DB;
class TestDB
{
/** @var \CoreLibs\DB\IO */
private \CoreLibs\DB\IO $db;
/** @var \CoreLibs\Logging\Logging */
private \CoreLibs\Logging\Logging $log;
/** @var \TestCalls\Test */
public $main;
/**
* Undocumented function
*
* @param \TestCalls\Test $main
*/
public function __construct(
\TestCalls\Test $main
) {
$this->db = $main->db;
$this->log = $main->log;
}
/**
* Undocumented function
*
* @return void
*/
private function testDBa(): void
{
$this->log->debug('TEST DB', 'Call in testDBa');
$this->db->dbInfo();
}
/**
* Undocumented function
*
* @return void
*/
public function testRunDB(): void
{
$this->log->debug('TEST DB', 'Call in testRunDB');
$this->testDBa();
}
}
// __ENB__