Skip to content

Commit 562746d

Browse files
authored
Merge pull request #179 from ock-php/tagged-value-for-test-diff
[drupal-testing] Tagged value for test diff
2 parents f0d973d + 81c10d8 commit 562746d

50 files changed

Lines changed: 362 additions & 320 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes.container.definitions.yml renamed to modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes.container.definitions.recording.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module: controller_attributes
2-
type: container.definitions
3-
'++ Drupal\controller_attributes\Hook\LinksFromRoutes':
1+
# controller_attributes
2+
# container.definitions
3+
Drupal\controller_attributes\Hook\LinksFromRoutes: !add
44
class: Symfony\Component\DependencyInjection\Definition
55
getArguments():
66
- '@router.route_provider'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# controller_attributes
2+
# summary
3+
links.action: '=='
4+
links.menu: '=='
5+
links.task: '=='
6+
container.definitions: '!='
7+
container.aliases: '=='
8+
container.parameters: '=='
9+
route_paths: '=='
10+
routes: '=='

modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes.summary.yml

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

modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes_test.links.action.yml renamed to modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes_test.links.action.recording.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
module: controller_attributes_test
2-
type: links.action
3-
'++ controller_attributes_test.hello_user_overview.add':
1+
# controller_attributes_test
2+
# links.action
3+
controller_attributes_test.hello_user_overview.add: !add
44
title: 'Add user'
55
appears_on:
66
- controller_attributes_test.hello_user_overview.overview
7-
'++ controller_attributes_test.hello_user_overview.invite':
7+
controller_attributes_test.hello_user_overview.invite: !add
88
title: 'Invite user'
99
weight: 10
1010
appears_on:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# controller_attributes_test
2+
# links.menu
3+
controller_attributes_test.hello.goodbye: !add
4+
menu_name: tools
5+
title: Goodbye
6+
description: 'A farewell greeting'
7+
controller_attributes_test.hello.hello: !add
8+
menu_name: tools
9+
title: null
10+
controller_attributes_test.hello_user_overview.overview: !add
11+
menu_name: tools
12+
title: 'List of users'
13+
controller_attributes_test.parent_child.automatic_child: !add
14+
menu_name: tools
15+
title: Parent
16+
parent: controller_attributes_test.parent_child.parent
17+
controller_attributes_test.parent_child.explicit_child: !add
18+
menu_name: tools
19+
title: Parent
20+
parent: controller_attributes_test.parent_child.parent
21+
controller_attributes_test.parent_child.parent: !add
22+
menu_name: tools
23+
title: Parent

modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes_test.links.menu.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# controller_attributes_test
2+
# links.task
3+
controller_attributes_test.hello_user.delete_user_different_base_route: !add
4+
title: Edit
5+
base_route: entity.user.canonical
6+
controller_attributes_test.hello_user.edit: !add
7+
title: Edit
8+
base_route: controller_attributes_test.hello_user.view
9+
controller_attributes_test.hello_user.invite: !add
10+
title: Invite
11+
base_route: controller_attributes_test.hello_user.view
12+
controller_attributes_test.hello_user.view: !add
13+
title: View
14+
base_route: controller_attributes_test.hello_user.view

modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes_test.links.task.yml

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

modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes_test.route_paths.yml renamed to modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes_test.route_paths.recording.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
module: controller_attributes_test
2-
type: route_paths
1+
# controller_attributes_test
2+
# route_paths
33
++:
44
- /controller-attributes-test/goodbye
55
- /controller-attributes-test/hello

modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes_test.routes.yml renamed to modules/controller_attributes/tests/recordings/Kernel/ControllerAttributesSnapshotTest/controller_attributes_test.routes.recording.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
module: controller_attributes_test
2-
type: routes
3-
'++ /controller-attributes-test/goodbye':
1+
# controller_attributes_test
2+
# routes
3+
/controller-attributes-test/goodbye: !add
44
controller_attributes_test.hello.goodbye:
55
defaults:
66
_controller: 'Drupal\controller_attributes_test\Controller\HelloController::goodbye'
77
options:
88
_menu_link:
99
title: Goodbye
1010
description: 'A farewell greeting'
11-
'++ /controller-attributes-test/hello':
11+
/controller-attributes-test/hello: !add
1212
controller_attributes_test.hello.hello:
1313
defaults:
1414
_controller: 'Drupal\controller_attributes_test\Controller\HelloController::hello'
1515
options:
1616
_menu_link: { }
17-
'++ /controller-attributes-test/post-or-put/{arg}':
17+
'/controller-attributes-test/post-or-put/{arg}': !add
1818
controller_attributes_test.hello.post_or_put:
1919
defaults:
2020
_controller: 'Drupal\controller_attributes_test\Controller\HelloController::postOrPut'
@@ -31,22 +31,22 @@ type: routes
3131
arg:
3232
type: 'entity:user'
3333
converter: paramconverter.entity
34-
'++ /controller-attributes-test/subdir/hello-in-subdir':
34+
/controller-attributes-test/subdir/hello-in-subdir: !add
3535
controller_attributes_test.subdir.controller_in_subdir.hello:
3636
defaults:
3737
_controller: 'Drupal\controller_attributes_test\Controller\Subdir\ControllerInSubdir::hello'
3838
options:
3939
compiler_class: null
4040
utf8: null
41-
'++ /explicit-child':
41+
/explicit-child: !add
4242
controller_attributes_test.parent_child.explicit_child:
4343
defaults:
4444
_controller: 'Drupal\controller_attributes_test\Controller\ParentChildController::explicitChild'
4545
options:
4646
_menu_link:
4747
title: Parent
4848
parent: controller_attributes_test.parent_child.parent
49-
'++ /hello/user':
49+
/hello/user: !add
5050
controller_attributes_test.hello_user_overview.overview:
5151
defaults:
5252
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserOverviewController::overview'
@@ -58,7 +58,7 @@ type: routes
5858
title: 'List of users'
5959
_access_checks:
6060
- access_check.permission
61-
'++ /hello/user/add-user':
61+
/hello/user/add-user: !add
6262
controller_attributes_test.hello_user_overview.add:
6363
defaults:
6464
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserOverviewController::add'
@@ -72,7 +72,7 @@ type: routes
7272
- controller_attributes_test.hello_user_overview.overview
7373
_access_checks:
7474
- access_check.permission
75-
'++ /hello/user/invite-user':
75+
/hello/user/invite-user: !add
7676
controller_attributes_test.hello_user_overview.invite:
7777
defaults:
7878
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserOverviewController::invite'
@@ -87,7 +87,7 @@ type: routes
8787
weight: 10
8888
_access_checks:
8989
- access_check.permission
90-
'++ /hello/user/{user}':
90+
'/hello/user/{user}': !add
9191
controller_attributes_test.hello_user.view:
9292
defaults:
9393
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserController::view'
@@ -103,7 +103,7 @@ type: routes
103103
converter: paramconverter.entity
104104
_access_checks:
105105
- access_check.default
106-
'++ /hello/user/{user}/delete-different-base-route':
106+
'/hello/user/{user}/delete-different-base-route': !add
107107
controller_attributes_test.hello_user.delete_user_different_base_route:
108108
defaults:
109109
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserController::deleteUserDifferentBaseRoute'
@@ -119,7 +119,7 @@ type: routes
119119
converter: paramconverter.entity
120120
_access_checks:
121121
- access_check.default
122-
'++ /hello/user/{user}/edit':
122+
'/hello/user/{user}/edit': !add
123123
controller_attributes_test.hello_user.edit:
124124
defaults:
125125
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserController::edit'
@@ -136,7 +136,7 @@ type: routes
136136
converter: paramconverter.entity
137137
_access_checks:
138138
- access_check.default
139-
'++ /hello/user/{user}/invite':
139+
'/hello/user/{user}/invite': !add
140140
controller_attributes_test.hello_user.invite:
141141
defaults:
142142
_controller: 'Drupal\controller_attributes_test\Controller\HelloUserController::invite'
@@ -152,14 +152,14 @@ type: routes
152152
converter: paramconverter.entity
153153
_access_checks:
154154
- access_check.default
155-
'++ /parent':
155+
/parent: !add
156156
controller_attributes_test.parent_child.parent:
157157
defaults:
158158
_controller: 'Drupal\controller_attributes_test\Controller\ParentChildController::parent'
159159
options:
160160
_menu_link:
161161
title: Parent
162-
'++ /parent/auto-child':
162+
/parent/auto-child: !add
163163
controller_attributes_test.parent_child.automatic_child:
164164
defaults:
165165
_controller: 'Drupal\controller_attributes_test\Controller\ParentChildController::automaticChild'

0 commit comments

Comments
 (0)