Skip to content

Commit 31f61fb

Browse files
committed
Refactor test routing to use when@test syntax instead separated file
1 parent 5519105 commit 31f61fb

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

config/routes/framework.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@ when@dev:
22
_errors:
33
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
44
prefix: /_error
5+
6+
when@test:
7+
test_controllers:
8+
resource: '../../tests/E2E/Rest/Traits/Actions/src/'
9+
type: attribute
10+
11+
test_life_cycle_controllers:
12+
resource: '../../tests/E2E/Rest/src/Controller'
13+
type: attribute

config/routes/test/tests.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)