Skip to content

Commit 90d8005

Browse files
committed
adjust tests
1 parent f8d5884 commit 90d8005

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

test/Unit/Reporter/DefaultReporterTest.php

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ public static function provideExpectedReportMaximumDurationMaximumCountAndSlowTe
8383
$values = [
8484
'header-singular' => [
8585
<<<'TXT'
86-
Detected 1 test where the duration exceeded the maximum duration (100 ms).
86+
Detected 1 test where the duration exceeded the maximum duration (500 ms).
8787
88-
1. 300 ms FooTest::test
88+
1. 300 ms (100 ms) FooTest::test
8989
TXT
9090
,
9191
Duration::fromMilliseconds(500),
@@ -101,10 +101,10 @@ public static function provideExpectedReportMaximumDurationMaximumCountAndSlowTe
101101
],
102102
'header-plural' => [
103103
<<<'TXT'
104-
Detected 2 tests where the duration exceeded the maximum duration (100 ms).
104+
Detected 2 tests where the duration exceeded the maximum duration (500 ms).
105105
106-
1. 300 ms FooTest::test
107-
2. 275 ms BarTest::test
106+
1. 300 ms (100 ms) FooTest::test
107+
2. 275 ms (100 ms) BarTest::test
108108
TXT
109109
,
110110
Duration::fromMilliseconds(500),
@@ -126,11 +126,11 @@ public static function provideExpectedReportMaximumDurationMaximumCountAndSlowTe
126126
],
127127
'list-sorted' => [
128128
<<<'TXT'
129-
Detected 3 tests where the duration exceeded the maximum duration (100 ms).
129+
Detected 3 tests where the duration exceeded the maximum duration (500 ms).
130130
131-
1. 300 ms FooTest::test
132-
2. 275 ms BarTest::test
133-
3. 250 ms BazTest::test
131+
1. 300 ms (100 ms) FooTest::test
132+
2. 275 ms (100 ms) BarTest::test
133+
3. 250 ms (100 ms) BazTest::test
134134
TXT
135135
,
136136
Duration::fromMilliseconds(500),
@@ -158,11 +158,11 @@ public static function provideExpectedReportMaximumDurationMaximumCountAndSlowTe
158158
],
159159
'list-unsorted' => [
160160
<<<'TXT'
161-
Detected 3 tests where the duration exceeded the maximum duration (100 ms).
161+
Detected 3 tests where the duration exceeded the maximum duration (500 ms).
162162
163-
1. 300 ms FooTest::test
164-
2. 275 ms BarTest::test
165-
3. 250 ms BazTest::test
163+
1. 300 ms (100 ms) FooTest::test
164+
2. 275 ms (100 ms) BarTest::test
165+
3. 250 ms (100 ms) BazTest::test
166166
TXT
167167
,
168168
Duration::fromMilliseconds(500),
@@ -190,18 +190,18 @@ public static function provideExpectedReportMaximumDurationMaximumCountAndSlowTe
190190
],
191191
'list-different-maximum-duration' => [
192192
<<<'TXT'
193-
Detected 10 tests where the duration exceeded the maximum duration.
193+
Detected 10 tests where the duration exceeded the maximum duration (500 ms).
194194
195195
1. 20:50.000 (16:40.000) FooTest::test
196196
2. 9:35.000 ( 8:20.000) BarTest::test
197-
3. 250 ms BazTest::test
198-
4. 200 ms QuxTest::test
199-
5. 160 ms QuuxTest::test
200-
6. 150 ms CorgeTest::test
201-
7. 140 ms GraultTest::test
202-
8. 130 ms GarplyTest::test
203-
9. 120 ms WaldoTest::test
204-
10. 110 ms FredTest::test
197+
3. 250 ms (100 ms) BazTest::test
198+
4. 200 ms (100 ms) QuxTest::test
199+
5. 160 ms (100 ms) QuuxTest::test
200+
6. 150 ms (100 ms) CorgeTest::test
201+
7. 140 ms (100 ms) GraultTest::test
202+
8. 130 ms (100 ms) GarplyTest::test
203+
9. 120 ms (100 ms) WaldoTest::test
204+
10. 110 ms (100 ms) FredTest::test
205205
TXT
206206
,
207207
Duration::fromMilliseconds(500),
@@ -271,9 +271,9 @@ public static function provideExpectedReportMaximumDurationMaximumCountAndSlowTe
271271
],
272272
'footer-singular' => [
273273
<<<'TXT'
274-
Detected 2 tests where the duration exceeded the maximum duration (100 ms).
274+
Detected 2 tests where the duration exceeded the maximum duration (500 ms).
275275
276-
1. 300 ms FooTest::test
276+
1. 300 ms (100 ms) FooTest::test
277277
278278
There is 1 additional slow test that is not listed here.
279279
TXT
@@ -297,9 +297,9 @@ public static function provideExpectedReportMaximumDurationMaximumCountAndSlowTe
297297
],
298298
'footer-plural' => [
299299
<<<'TXT'
300-
Detected 3 tests where the duration exceeded the maximum duration (100 ms).
300+
Detected 3 tests where the duration exceeded the maximum duration (500 ms).
301301
302-
1. 300 ms FooTest::test
302+
1. 300 ms (100 ms) FooTest::test
303303
304304
There are 2 additional slow tests that are not listed here.
305305
TXT

0 commit comments

Comments
 (0)