extends from BindApiControllerTest
This commit is contained in:
parent
620e762dfc
commit
9a59a2563d
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue