aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2018-10-13 13:26:59 +0200
committergit-marijus <mario@mariovavti.com>2018-10-13 13:26:59 +0200
commit22275f307727a3d1a3344241f7949dac06e19935 (patch)
tree7eb6b5e69b33bb2a13b56d2770277209ba72643f /tests/unit
parentb77acb3e53c26af2046d568e732885cb0e2f85b3 (diff)
downloadvolse-hubzilla-22275f307727a3d1a3344241f7949dac06e19935.tar.gz
volse-hubzilla-22275f307727a3d1a3344241f7949dac06e19935.tar.bz2
volse-hubzilla-22275f307727a3d1a3344241f7949dac06e19935.zip
fix dba_pdoTest
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;
}