diff --git a/tests/TestApplication/config/routes.php b/tests/TestApplication/config/routes.php index a22d1b5e60..0c0249ffac 100644 --- a/tests/TestApplication/config/routes.php +++ b/tests/TestApplication/config/routes.php @@ -1,7 +1,8 @@ import('../src/Controller/', 'attribute'); + $routes->import('../src/Controller/', Kernel::MAJOR_VERSION >= 7 ? 'attribute' : 'annotation'); };