core/modules/big_pipe/src/Tests/BigPipeTest.php | 6 +++--- .../modules/big_pipe_test/big_pipe_test.routing.yml | 8 ++++---- .../big_pipe_test/src/BigPipeTestController.php | 7 ++++--- .../src/FunctionalJavascript/BigPipeRegressionTest.php | 18 ++++++++++-------- .../big_pipe_test_theme/big_pipe_test_theme.info.yml | 4 ++-- .../templates/field--comment.html.twig | 14 +++----------- 6 files changed, 26 insertions(+), 31 deletions(-) diff --git a/core/modules/big_pipe/src/Tests/BigPipeTest.php b/core/modules/big_pipe/src/Tests/BigPipeTest.php index 1fec519..32eb4df 100644 --- a/core/modules/big_pipe/src/Tests/BigPipeTest.php +++ b/core/modules/big_pipe/src/Tests/BigPipeTest.php @@ -270,9 +270,9 @@ public function testBigPipeNoJs() { } /** - * Tests BigPipe responses do not include duplicate placeholder replacements. + * Tests BigPipe with a multi-occurrence placeholder. */ - public function testBigPipeJsMultipleOccurrencePlaceholders() { + public function testBigPipeMultiOccurrencePlaceholders() { $this->drupalLogin($this->rootUser); $this->assertSessionCookieExists(TRUE); $this->assertBigPipeNoJsCookieExists(FALSE); @@ -283,7 +283,7 @@ public function testBigPipeJsMultipleOccurrencePlaceholders() { // @see setUp() // @see performMetaRefresh() - $this->drupalGet(Url::fromRoute('big_pipe_duplicate_placeholders')); + $this->drupalGet(Url::fromRoute('big_pipe_test_multi_occurrence')); $big_pipe_placeholder_id = 'callback=Drupal%5Cbig_pipe_test%5CBigPipeTestController%3A%3AplaceholderContent&args[0]=awesome&token=d13e3d6c'; $expected_placeholder_replacement = '