extends from BindApiControllerTest

This commit is contained in:
tracer 2022-10-08 10:45:54 +02:00
parent 620e762dfc
commit 9a59a2563d
1 changed files with 2 additions and 3 deletions

View File

@ -11,14 +11,13 @@ use PDOException;
* @covers \App\Controller\DatabaseConnection
* @covers \App\Controller\ConfigController
*/
class DatabaseConnectionTest extends BindApiTestController
class DatabaseConnectionTest extends BindApiControllerTest
{
private PDO $dbConnection;
public function testGetConnection()
{
$configController = new ConfigController(test: true);
$configController = new ConfigController(test: true);
$dbHost = $configController->getConfig(configKey: 'dbHost');
$dbPort = $configController->getConfig(configKey: 'dbPort');