Skip to content

Commit 31e1213

Browse files
Fix test failures in PHPUnit 12.3.2 (#56610)
1 parent 93174e2 commit 31e1213

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Queue/FailOnExceptionMiddlewareTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function setUp(): void
2828
/**
2929
* @return array<string, array{class-string<\Throwable>, FailOnException, bool}>
3030
*/
31-
public static function testMiddlewareDataProvider(): array
31+
public static function middlewareDataProvider(): array
3232
{
3333
return [
3434
'exception is in list' => [
@@ -44,7 +44,7 @@ public static function testMiddlewareDataProvider(): array
4444
];
4545
}
4646

47-
#[DataProvider('testMiddlewareDataProvider')]
47+
#[DataProvider('middlewareDataProvider')]
4848
public function test_middleware(
4949
string $thrown,
5050
FailOnException $middleware,

0 commit comments

Comments
 (0)