aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-04-25 11:22:21 +0200
committerMario <mario@mariovavti.com>2019-04-25 11:22:21 +0200
commita39e63e3248f443300d4fe4a71bdcdc7ecb64c28 (patch)
tree46fbfffc065073141d63c2f1540fe8362f62594a
parent8401e9c2b4bca3bf19eb7590f827b7169f4647d9 (diff)
downloadvolse-hubzilla-a39e63e3248f443300d4fe4a71bdcdc7ecb64c28.tar.gz
volse-hubzilla-a39e63e3248f443300d4fe4a71bdcdc7ecb64c28.tar.bz2
volse-hubzilla-a39e63e3248f443300d4fe4a71bdcdc7ecb64c28.zip
Revert "dbunit does not work wirh phpunit v 8.1.3 - try 7.5.9"
This reverts commit 8401e9c2b4bca3bf19eb7590f827b7169f4647d9
-rw-r--r--composer.json2
-rw-r--r--tests/unit/Photo/PhotoGdTest.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/composer.json b/composer.json
index c79a72a4c..cb14083f0 100644
--- a/composer.json
+++ b/composer.json
@@ -44,7 +44,7 @@
"desandro/imagesloaded": "^4.1"
},
"require-dev" : {
- "phpunit/phpunit" : "~7.5.9",
+ "phpunit/phpunit" : "@stable",
"behat/behat" : "@stable",
"behat/mink-extension": "@stable",
"behat/mink-goutte-driver": "@stable",
diff --git a/tests/unit/Photo/PhotoGdTest.php b/tests/unit/Photo/PhotoGdTest.php
index 1d4f9467f..ae7382c43 100644
--- a/tests/unit/Photo/PhotoGdTest.php
+++ b/tests/unit/Photo/PhotoGdTest.php
@@ -26,7 +26,7 @@ class PhotoGdTest extends UnitTestCase {
/**
* Prepares the environment before running a test.
*/
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$data = file_get_contents('images/hz-16.png');
@@ -37,7 +37,7 @@ class PhotoGdTest extends UnitTestCase {
/**
* Cleans up the environment after running a test.
*/
- protected function tearDown() {
+ protected function tearDown(): void {
$this->photoGd = null;
parent::tearDown();