[HttpKernel] fix tests

This commit is contained in:
Nicolas Grekas 2019-07-11 12:21:37 +02:00
parent 0349294175
commit 6eee2a8144
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class TraceableEventDispatcherTest extends TestCase
public function testStopwatchSections()
{
$dispatcher = new TraceableEventDispatcher(new EventDispatcher(), $stopwatch = new Stopwatch());
$kernel = $this->getHttpKernel($dispatcher, function () { return new Response(); });
$kernel = $this->getHttpKernel($dispatcher, function () { return new Response('', 200, ['X-Debug-Token' => '292e1e']); });
$request = Request::create('/');
$response = $kernel->handle($request);
$kernel->terminate($request, $response);