Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
219
Merge Requests
219
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
fb33384d
Commit
fb33384d
authored
Jun 23, 2020
by
xjm
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3138791
by jungle, sja112, xjm, mohrerao: Fix "bubbleable" relevant typos in core
parent
ae186bdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
core/modules/system/tests/modules/token_test/token_test.routing.yml
...es/system/tests/modules/token_test/token_test.routing.yml
+1
-1
core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php
...ystem/tests/src/Functional/System/TokenReplaceWebTest.php
+1
-1
No files found.
core/modules/system/tests/modules/token_test/token_test.routing.yml
View file @
fb33384d
...
...
@@ -5,7 +5,7 @@ token_test.test:
requirements
:
_access
:
'
TRUE'
token_test.test_without_bubbleable_metadata
:
path
:
token-test-without-bubleable-metadata/{node}
path
:
token-test-without-bub
b
leable-metadata/{node}
defaults
:
_controller
:
Drupal\token_test\Controller\TestController::tokenReplaceWithoutPassedBubbleableMetadata
requirements
:
...
...
core/modules/system/tests/src/Functional/System/TokenReplaceWebTest.php
View file @
fb33384d
...
...
@@ -38,7 +38,7 @@ public function testTokens() {
$this
->
assertCacheTags
([
'node:1'
,
'rendered'
,
'user:2'
]);
$this
->
assertCacheContexts
([
'languages:language_interface'
,
'theme'
,
'url.query_args:'
.
MainContentViewSubscriber
::
WRAPPER_FORMAT
,
'user'
]);
$this
->
drupalGet
(
'token-test-without-bubleable-metadata/'
.
$node
->
id
());
$this
->
drupalGet
(
'token-test-without-bub
b
leable-metadata/'
.
$node
->
id
());
$this
->
assertText
(
"Tokens:
{
$node
->
id
()
}
{
$account
->
id
()
}
"
);
$this
->
assertCacheTags
([
'node:1'
,
'rendered'
,
'user:2'
]);
$this
->
assertCacheContexts
([
'languages:language_interface'
,
'theme'
,
'url.query_args:'
.
MainContentViewSubscriber
::
WRAPPER_FORMAT
,
'user'
]);
...
...
xjm
@xjm
mentioned in commit
929f86c3
·
Jun 23, 2020
mentioned in commit
929f86c3
mentioned in commit 929f86c32423d4f08010548e803b59012871d793
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment