Skip to content

Commit 5bc8c12

Browse files
committed
minor symfony#59218 [Routing] fix test method parameter names (xabbuh)
This PR was merged into the 7.3 branch. Discussion ---------- [Routing] fix test method parameter names | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT see https://github.com/symfony/symfony/actions/runs/12353148436/job/34471647973?pr=58370#step:9:3293 for an example of how tests would fail with PHPUnit 11.5 otherwise Commits ------- 54b38c2 fix test method parameter names
2 parents ed1198b + 54b38c2 commit 5bc8c12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Routing/Tests/Loader/Psr4DirectoryLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ public static function provideInvalidPsr4Namespaces(): array
110110
return [
111111
'slash instead of back-slash' => [
112112
'namespace' => 'App\Application/Controllers',
113-
'exceptionMessage' => 'Namespace "App\Application/Controllers" is not a valid PSR-4 prefix.',
113+
'expectedExceptionMessage' => 'Namespace "App\Application/Controllers" is not a valid PSR-4 prefix.',
114114
],
115115
'invalid namespace' => [
116116
'namespace' => 'App\Contro llers',
117-
'exceptionMessage' => 'Namespace "App\Contro llers" is not a valid PSR-4 prefix.',
117+
'expectedExceptionMessage' => 'Namespace "App\Contro llers" is not a valid PSR-4 prefix.',
118118
],
119119
];
120120
}

0 commit comments

Comments
 (0)