Skip to content

Commit 934f966

Browse files
committed
handle 5.4 router config
1 parent 5a83151 commit 934f966

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Maker/MakeResetPasswordTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ public function getTestDetails(): \Generator
7777
'tests/ResetPasswordFunctionalTest.php'
7878
);
7979

80+
if (60000 > $runner->getSymfonyVersion()) {
81+
// @legacy - In 5.4 tests, we need to tell Symfony to look for the route attributes in `src/Controller`
82+
$runner->copy('router-annotations.yaml', 'config/routes/annotations.yaml');
83+
}
84+
8085
$runner->runTests();
8186
}),
8287
];

0 commit comments

Comments
 (0)