From 4245bacdd5efc30aa71d5b01ab177859b3631e07 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Sat, 27 Aug 2016 14:44:09 +0200 Subject: [PATCH] [HttpKernel] Fix assertion of deprecation in fragment renderer --- .../HttpKernel/Tests/Fragment/EsiFragmentRendererTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/Tests/Fragment/EsiFragmentRendererTest.php b/src/Symfony/Component/HttpKernel/Tests/Fragment/EsiFragmentRendererTest.php index 1fb9cc2037e5e..9d08fa562ec21 100644 --- a/src/Symfony/Component/HttpKernel/Tests/Fragment/EsiFragmentRendererTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/Fragment/EsiFragmentRendererTest.php @@ -32,7 +32,7 @@ public function testRenderFallbackToInlineStrategyIfEsiNotSupported() */ public function testRenderFallbackWithObjectAttributesIsDeprecated() { - ErrorAssert::assertDeprecationsAreTriggered('Passing objects as part of URI attributes to the ESI and SSI rendering strategies is deprecated', function () { + ErrorAssert::assertDeprecationsAreTriggered('Passing non-scalar values as part of URI attributes to the ESI and SSI rendering strategies is deprecated', function () { $strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true), new UriSigner('foo')); $request = Request::create('/'); $reference = new ControllerReference('main_controller', array('foo' => array('a' => array(), 'b' => new \stdClass())), array());