blob: 32e1e11c9999aed1b6125f5125d1da771b00b68a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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;
}
|