Skip to content

Commit f272a82

Browse files
committed
apply code suggestion
1 parent ea03b46 commit f272a82

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/system/Debug/ExceptionHandlerTest.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ public function testHandleCLIPageNotFoundException(): void
173173
* The handler can only exit outside the testing environment, so it
174174
* runs in a separate process with the production environment.
175175
*/
176-
#[DataProvider('provideHandleWebExceptionExitsOutsideWorkerMode')]
177-
public function testHandleWebExceptionExitsOutsideWorkerMode(
176+
#[DataProvider('provideHandleWebExceptionExitBehavior')]
177+
public function testHandleWebExceptionExitBehavior(
178178
string $accept,
179179
bool $workerMode,
180180
string $expectedOutput,
@@ -228,7 +228,7 @@ public function testHandleWebExceptionExitsOutsideWorkerMode(
228228
/**
229229
* @return iterable<string, array{string, bool, string, int}>
230230
*/
231-
public static function provideHandleWebExceptionExitsOutsideWorkerMode(): iterable
231+
public static function provideHandleWebExceptionExitBehavior(): iterable
232232
{
233233
yield 'non-HTML, worker mode' => ['application/json', true, '""', 0];
234234

0 commit comments

Comments
 (0)