diff options
author | Mario <mario@mariovavti.com> | 2018-10-15 09:59:52 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-10-15 09:59:52 +0200 |
commit | c39de966df2ff28674697be77a527b2214afef42 (patch) | |
tree | 1304ed475c5677a143fad8401e8ba5b9f4b7fe13 /tests/unit/includes/dba | |
parent | 721461dd3e8cb6990ace54688ace953374506daf (diff) | |
parent | 0db047e572ad620d32d20c6a8a6765e4838731c2 (diff) | |
download | volse-hubzilla-c39de966df2ff28674697be77a527b2214afef42.tar.gz volse-hubzilla-c39de966df2ff28674697be77a527b2214afef42.tar.bz2 volse-hubzilla-c39de966df2ff28674697be77a527b2214afef42.zip |
Merge branch 'dev' into 'dev'
Bring back some basic automated testing for PHP7.1 and mysql via gitlab-ci.
See merge request hubzilla/core!1332
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; } |