Skip to content

Commit 628d9de

Browse files
Merge branch '3.1'
* 3.1: [HttpKernel] Fix assertion of deprecation in fragment renderer [Yaml] sync test and actually triggered message
2 parents e0443f3 + 68c148d commit 628d9de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)