[HttpKernel] fix PHP 5.4 compat

This commit is contained in:
Nicolas Grekas 2018-06-19 22:37:28 +02:00
parent 3fc2200134
commit 0f2b752138

View File

@ -16,7 +16,6 @@ use Symfony\Component\HttpKernel\HttpCache\HttpCache;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpCache\Store;
use Symfony\Component\HttpKernel\HttpCache\StoreInterface;
use Symfony\Component\HttpKernel\HttpKernelInterface;
/**
@ -1438,8 +1437,8 @@ class HttpCacheTest extends HttpCacheTestCase
public function testUsesOriginalRequestForSurrogate()
{
$kernel = $this->getMockBuilder(HttpKernelInterface::class)->getMock();
$store = $this->getMockBuilder(StoreInterface::class)->getMock();
$kernel = $this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock();
$store = $this->getMockBuilder('Symfony\Component\HttpKernel\HttpCache\StoreInterface')->getMock();
$kernel
->expects($this->exactly(2))