[HttpKernel] Remove a duplicate test for the EsiFragmentRenderer
Since the request was made a required argument to the `render()` method in #6829, this test became a duplicate of `testRenderFallbackToInlineStrategyIfEsiNotSupported()`.
This commit is contained in:
parent
b06a938e63
commit
44d57a340f
@ -19,12 +19,6 @@ use Symfony\Component\HttpKernel\UriSigner;
|
|||||||
|
|
||||||
class EsiFragmentRendererTest extends \PHPUnit_Framework_TestCase
|
class EsiFragmentRendererTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
public function testRenderFallbackToInlineStrategyIfNoRequest()
|
|
||||||
{
|
|
||||||
$strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true));
|
|
||||||
$strategy->render('/', Request::create('/'));
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testRenderFallbackToInlineStrategyIfEsiNotSupported()
|
public function testRenderFallbackToInlineStrategyIfEsiNotSupported()
|
||||||
{
|
{
|
||||||
$strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true));
|
$strategy = new EsiFragmentRenderer(new Esi(), $this->getInlineStrategy(true));
|
||||||
|
Reference in New Issue
Block a user