Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e33c694

Browse files
committed
minor #19760 [HttpKernel] Fix assertion of deprecation in surrogate fragment renderer (chalasr)
This PR was merged into the 3.1 branch. Discussion ---------- [HttpKernel] Fix assertion of deprecation in surrogate fragment renderer | Q | A | ------------- | --- | Branch? | 3.1 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a The message has been changed in #19281 but not the corresponding assertion Commits ------- 4245bac [HttpKernel] Fix assertion of deprecation in fragment renderer
2 parents 224ebc0 + 4245bac commit e33c694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Tests/Fragment/EsiFragmentRendererTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testRenderFallbackToInlineStrategyIfEsiNotSupported()
3232
*/
3333
public function testRenderFallbackWithObjectAttributesIsDeprecated()
3434
{
35-
ErrorAssert::assertDeprecationsAreTriggered('Passing objects as part of URI attributes to the ESI and SSI rendering strategies is deprecated', function () {
35+
ErrorAssert::assertDeprecationsAreTriggered('Passing non-scalar values as part of URI attributes to the ESI and SSI rendering strategies is deprecated', function () {
3636
$strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true), new UriSigner('foo'));
3737
$request = Request::create('/');
3838
$reference = new ControllerReference('main_controller', array('foo' => array('a' => array(), 'b' => new \stdClass())), array());

0 commit comments

Comments
 (0)