|
19 | 19 | use Crud\Listener\ApiListener;
|
20 | 20 | use Crud\Test\App\Controller\BlogsController;
|
21 | 21 | use Crud\TestSuite\TestCase;
|
| 22 | +use PHPUnit\Framework\Attributes\DataProvider; |
22 | 23 | use StdClass;
|
23 | 24 |
|
24 | 25 | /**
|
@@ -412,7 +413,7 @@ public static function dataExceptionResponse()
|
412 | 413 | * @param array $validationErrors
|
413 | 414 | * @return void
|
414 | 415 | */
|
415 |
| - #[\PHPUnit\Framework\Attributes\DataProvider('dataExceptionResponse')] |
| 416 | + #[DataProvider('dataExceptionResponse')] |
416 | 417 | public function testExceptionResponse(
|
417 | 418 | $apiConfig,
|
418 | 419 | $exceptionClass,
|
@@ -514,7 +515,7 @@ public static function dataSerializeTraitActions()
|
514 | 515 | *
|
515 | 516 | * @return void
|
516 | 517 | */
|
517 |
| - #[\PHPUnit\Framework\Attributes\DataProvider('dataSerializeTraitActions')] |
| 518 | + #[DataProvider('dataSerializeTraitActions')] |
518 | 519 | public function testEnsureSerializeWithSerializeTrait($action)
|
519 | 520 | {
|
520 | 521 | $listener = $this
|
@@ -1091,7 +1092,7 @@ public static function dataExpandPath()
|
1091 | 1092 | *
|
1092 | 1093 | * @return void
|
1093 | 1094 | */
|
1094 |
| - #[\PHPUnit\Framework\Attributes\DataProvider('dataExpandPath')] |
| 1095 | + #[DataProvider('dataExpandPath')] |
1095 | 1096 | public function testExpandPath($subject, $path, $expected)
|
1096 | 1097 | {
|
1097 | 1098 | $listener = $this
|
@@ -1206,7 +1207,7 @@ public static function dataCheckRequestMethods()
|
1206 | 1207 | *
|
1207 | 1208 | * @return void
|
1208 | 1209 | */
|
1209 |
| - #[\PHPUnit\Framework\Attributes\DataProvider('dataCheckRequestMethods')] |
| 1210 | + #[DataProvider('dataCheckRequestMethods')] |
1210 | 1211 | public function testCheckRequestMethods($apiConfig, $exception, $requestMethods)
|
1211 | 1212 | {
|
1212 | 1213 | $listener = $this
|
|
0 commit comments