aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-25 11:14:40 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-25 11:14:40 +0200
commit8401e9c2b4bca3bf19eb7590f827b7169f4647d9 (patch)
tree9e23c6e24afc8d1144f70f8184aec2592e03e2f7
parentc5fca0a1e784130b0e6f7aeee0bc36999f120bbf (diff)
downloadvolse-hubzilla-8401e9c2b4bca3bf19eb7590f827b7169f4647d9.tar.gz
volse-hubzilla-8401e9c2b4bca3bf19eb7590f827b7169f4647d9.tar.bz2
volse-hubzilla-8401e9c2b4bca3bf19eb7590f827b7169f4647d9.zip
dbunit does not work wirh phpunit v 8.1.3 - try 7.5.9
-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 cb14083f0..c79a72a4c 100644
--- a/composer.json
+++ b/composer.json
@@ -44,7 +44,7 @@
"desandro/imagesloaded": "^4.1"
},
"require-dev" : {
- "phpunit/phpunit" : "@stable",
+ "phpunit/phpunit" : "~7.5.9",
"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 ae7382c43..1d4f9467f 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(): void {
+ protected function setUp() {
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(): void {
+ protected function tearDown() {
$this->photoGd = null;
parent::tearDown();