fix dba_pdoTest
This commit is contained in:
parent
b77acb3e53
commit
22275f3077
@ -55,7 +55,7 @@ class dba_pdoTest extends DatabaseTestCase {
|
|||||||
return new YamlDataSet(dirname(__FILE__) . '/_files/account.yml');
|
return new YamlDataSet(dirname(__FILE__) . '/_files/account.yml');
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function setUp() {
|
protected function setUp(): void {
|
||||||
// Will invoke getDataSet() to load fixtures into DB
|
// Will invoke getDataSet() to load fixtures into DB
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ class dba_pdoTest extends DatabaseTestCase {
|
|||||||
$this->assertTrue($this->dba->connected, 'Pre condition failed, DB is not connected.');
|
$this->assertTrue($this->dba->connected, 'Pre condition failed, DB is not connected.');
|
||||||
$this->assertInstanceOf('PDO', $this->dba->db);
|
$this->assertInstanceOf('PDO', $this->dba->db);
|
||||||
}
|
}
|
||||||
protected function tearDown() {
|
protected function tearDown(): void {
|
||||||
$this->dba = null;
|
$this->dba = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user