diff options
author | git-marijus <mario@mariovavti.com> | 2018-10-13 13:26:59 +0200 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2018-10-13 13:26:59 +0200 |
commit | 22275f307727a3d1a3344241f7949dac06e19935 (patch) | |
tree | 7eb6b5e69b33bb2a13b56d2770277209ba72643f /tests/unit/includes/dba | |
parent | b77acb3e53c26af2046d568e732885cb0e2f85b3 (diff) | |
download | volse-hubzilla-22275f307727a3d1a3344241f7949dac06e19935.tar.gz volse-hubzilla-22275f307727a3d1a3344241f7949dac06e19935.tar.bz2 volse-hubzilla-22275f307727a3d1a3344241f7949dac06e19935.zip |
fix dba_pdoTest
Diffstat (limited to 'tests/unit/includes/dba')
-rw-r--r-- | tests/unit/includes/dba/dba_pdoTest.php | 4 |
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; } |