dbunit does not work wirh phpunit v 8.1.3 - try 7.5.9

This commit is contained in:
Mario Vavti 2019-04-25 11:14:40 +02:00
parent c5fca0a1e7
commit 8401e9c2b4
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
"desandro/imagesloaded": "^4.1" "desandro/imagesloaded": "^4.1"
}, },
"require-dev" : { "require-dev" : {
"phpunit/phpunit" : "@stable", "phpunit/phpunit" : "~7.5.9",
"behat/behat" : "@stable", "behat/behat" : "@stable",
"behat/mink-extension": "@stable", "behat/mink-extension": "@stable",
"behat/mink-goutte-driver": "@stable", "behat/mink-goutte-driver": "@stable",

View File

@ -26,7 +26,7 @@ class PhotoGdTest extends UnitTestCase {
/** /**
* Prepares the environment before running a test. * Prepares the environment before running a test.
*/ */
protected function setUp(): void { protected function setUp() {
parent::setUp(); parent::setUp();
$data = file_get_contents('images/hz-16.png'); $data = file_get_contents('images/hz-16.png');
@ -37,7 +37,7 @@ class PhotoGdTest extends UnitTestCase {
/** /**
* Cleans up the environment after running a test. * Cleans up the environment after running a test.
*/ */
protected function tearDown(): void { protected function tearDown() {
$this->photoGd = null; $this->photoGd = null;
parent::tearDown(); parent::tearDown();