aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/includes/dba/dba_pdoTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/includes/dba/dba_pdoTest.php b/tests/unit/includes/dba/dba_pdoTest.php
index 12e574d42..689f5a7ce 100644
--- a/tests/unit/includes/dba/dba_pdoTest.php
+++ b/tests/unit/includes/dba/dba_pdoTest.php
@@ -55,7 +55,7 @@ class dba_pdoTest extends DatabaseTestCase {
return new YamlDataSet(dirname(__FILE__) . '/_files/account.yml');
}
- protected function setUp() {
+ protected function setUp(): void {
// Will invoke getDataSet() to load fixtures into DB
parent::setUp();
@@ -74,7 +74,7 @@ class dba_pdoTest extends DatabaseTestCase {
$this->assertTrue($this->dba->connected, 'Pre condition failed, DB is not connected.');
$this->assertInstanceOf('PDO', $this->dba->db);
}
- protected function tearDown() {
+ protected function tearDown(): void {
$this->dba = null;
}