Skip to content

Commit

Permalink
minor #16281 [HttpKernel] Remove a duplicate test for the EsiFragment…
Browse files Browse the repository at this point in the history
…Renderer (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
  • Loading branch information
fabpot committed Oct 19, 2015
2 parents 2f205d4 + 44d57a3 commit c94f186
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -19,12 +19,6 @@

class EsiFragmentRendererTest extends \PHPUnit_Framework_TestCase
{
public function testRenderFallbackToInlineStrategyIfNoRequest()
{
$strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true));
$strategy->render('/', Request::create('/'));
}

public function testRenderFallbackToInlineStrategyIfEsiNotSupported()
{
$strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true));
Expand Down

0 comments on commit c94f186

Please sign in to comment.