extends from BindApiControllerTest
This commit is contained in:
parent
620e762dfc
commit
9a59a2563d
|
@ -11,13 +11,12 @@ use PDOException;
|
||||||
* @covers \App\Controller\DatabaseConnection
|
* @covers \App\Controller\DatabaseConnection
|
||||||
* @covers \App\Controller\ConfigController
|
* @covers \App\Controller\ConfigController
|
||||||
*/
|
*/
|
||||||
class DatabaseConnectionTest extends BindApiTestController
|
class DatabaseConnectionTest extends BindApiControllerTest
|
||||||
{
|
{
|
||||||
private PDO $dbConnection;
|
private PDO $dbConnection;
|
||||||
|
|
||||||
public function testGetConnection()
|
public function testGetConnection()
|
||||||
{
|
{
|
||||||
|
|
||||||
$configController = new ConfigController(test: true);
|
$configController = new ConfigController(test: true);
|
||||||
|
|
||||||
$dbHost = $configController->getConfig(configKey: 'dbHost');
|
$dbHost = $configController->getConfig(configKey: 'dbHost');
|
||||||
|
|
Loading…
Reference in New Issue