36 lines
1 KiB
Diff
36 lines
1 KiB
Diff
From 52b1e37791d037094699302998b6df7a9f9c4a48 Mon Sep 17 00:00:00 2001
|
|
From: Remi Collet <remi@remirepo.net>
|
|
Date: Fri, 7 Feb 2020 15:10:47 +0100
|
|
Subject: [PATCH] fix test suite for PHPUnit v9
|
|
|
|
---
|
|
phpunit.xml | 2 +-
|
|
tests/EnumeratorTest.php | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/phpunit.xml b/phpunit.xml
|
|
index c401ba8..e0ce8df 100644
|
|
--- a/phpunit.xml
|
|
+++ b/phpunit.xml
|
|
@@ -8,7 +8,7 @@
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
beStrictAboutTodoAnnotatedTests="true"
|
|
verbose="true">
|
|
- <testsuite>
|
|
+ <testsuite name="default">
|
|
<directory suffix="Test.php">tests</directory>
|
|
</testsuite>
|
|
|
|
diff --git a/tests/EnumeratorTest.php b/tests/EnumeratorTest.php
|
|
index a6bd29a..1398f49 100644
|
|
--- a/tests/EnumeratorTest.php
|
|
+++ b/tests/EnumeratorTest.php
|
|
@@ -23,7 +23,7 @@ class EnumeratorTest extends TestCase
|
|
*/
|
|
private $enumerator;
|
|
|
|
- protected function setUp()
|
|
+ protected function setUp(): void
|
|
{
|
|
$this->enumerator = new Enumerator;
|
|
}
|