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

Skip to content

Commit c94f186

Browse files
committed
minor #16281 [HttpKernel] Remove a duplicate test for the EsiFragmentRenderer (jakzal)
This PR was merged into the 2.3 branch. Discussion ---------- [HttpKernel] Remove a duplicate test for the EsiFragmentRenderer | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Since the request was made a required argument to the `render()` method in #6829, this [test became a duplicate](https://github.com/fabpot/symfony/blob/23f51450bd5af35055db47b1787b5623b78df29b/src/Symfony/Component/HttpKernel/Tests/RenderingStrategy/EsiRenderingStrategyTest.php#L28-L38) of `testRenderFallbackToInlineStrategyIfEsiNotSupported()`. Commits ------- 44d57a3 [HttpKernel] Remove a duplicate test for the EsiFragmentRenderer
2 parents 2f205d4 + 44d57a3 commit c94f186

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@
1919

2020
class EsiFragmentRendererTest extends \PHPUnit_Framework_TestCase
2121
{
22-
public function testRenderFallbackToInlineStrategyIfNoRequest()
23-
{
24-
$strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true));
25-
$strategy->render('/', Request::create('/'));
26-
}
27-
2822
public function testRenderFallbackToInlineStrategyIfEsiNotSupported()
2923
{
3024
$strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true));

0 commit comments

Comments
 (0)