File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 22
33namespace Pierstoval \SmokeTesting \PhpUnitVersions ;
44
5+ use PHPUnit \Framework \Attributes \DataProvider ;
56use Pierstoval \SmokeTesting \RoutesExtractor ;
67use Symfony \Bundle \FrameworkBundle \KernelBrowser ;
8+ use function is_a ;
79use function sprintf ;
810use Generator ;
911use RuntimeException ;
@@ -57,6 +59,7 @@ public static function provideRouteCollection(): Generator
5759 yield from RoutesExtractor::extractRoutesFromRouter ($ router );
5860 }
5961
62+ #[DataProvider('provideRouteCollection ' )]
6063 public function testRoutesDoNotReturnInternalError (string $ httpMethod , string $ routeName , string $ routePath ): void
6164 {
6265 $ client = static ::createClient ();
Original file line number Diff line number Diff line change 22
33namespace Pierstoval \SmokeTesting \PhpUnitVersions ;
44
5+ use Pierstoval \SmokeTesting \RoutesExtractor ;
56use Symfony \Bundle \FrameworkBundle \KernelBrowser ;
6- use function count ;
7+ use function is_a ;
78use function sprintf ;
89use Generator ;
910use RuntimeException ;
You can’t perform that action at this time.
0 commit comments