diff --git a/.travis.yml b/.travis.yml index eee1c32..f6bafbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: php # lock distro so new future defaults will not break the build dist: trusty -matrix: +jobs: include: - php: 5.4 - php: 5.5 @@ -26,7 +26,7 @@ matrix: - os: windows install: - - composer install --no-interaction + - composer install script: - vendor/bin/phpunit --coverage-text diff --git a/composer.json b/composer.json index 4827595..65e14fd 100644 --- a/composer.json +++ b/composer.json @@ -25,6 +25,6 @@ "react/promise": "^2.7 || ^1.2.1" }, "require-dev": { - "phpunit/phpunit": "^7.0 || ^6.0 || ^5.7 || ^4.8.35" + "phpunit/phpunit": "^9.0 || ^5.7 || ^4.8.35" } } diff --git a/tests/Io/LazyDatabaseTest.php b/tests/Io/LazyDatabaseTest.php index 24e6b7a..143952e 100644 --- a/tests/Io/LazyDatabaseTest.php +++ b/tests/Io/LazyDatabaseTest.php @@ -13,7 +13,10 @@ class LazyDatabaseTest extends TestCase private $loop; private $db; - public function setUp() + /** + * @before + */ + public function setUpDataBase() { $this->factory = $this->getMockBuilder('Clue\React\SQLite\Factory')->disableOriginalConstructor()->getMock(); $this->loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();