Skip to content

Commit

Permalink
Issue #3138791 by jungle, sja112, xjm, mohrerao: Fix "bubbleable" rel…
Browse files Browse the repository at this point in the history
…evant typos in core

(cherry picked from commit fb33384dc66e122980e38b3d7c33ce79356b207e)
  • Loading branch information
xjm committed Jun 23, 2020
1 parent 1fc0306 commit a53aeb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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-bubbleable-metadata/{node}
defaults:
_controller: Drupal\token_test\Controller\TestController::tokenReplaceWithoutPassedBubbleableMetadata
requirements:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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-bubbleable-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']);
Expand Down

0 comments on commit a53aeb9

Please sign in to comment.