Skip to content

Commit 2846089

Browse files
minor symfony#32494 [HttpKernel] fix tests (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [HttpKernel] fix tests | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - This part of symfony#32428 is for 3.4 Commits ------- 6eee2a8 [HttpKernel] fix tests
2 parents 0349294 + 6eee2a8 commit 2846089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Tests/Debug/TraceableEventDispatcherTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TraceableEventDispatcherTest extends TestCase
2525
public function testStopwatchSections()
2626
{
2727
$dispatcher = new TraceableEventDispatcher(new EventDispatcher(), $stopwatch = new Stopwatch());
28-
$kernel = $this->getHttpKernel($dispatcher, function () { return new Response(); });
28+
$kernel = $this->getHttpKernel($dispatcher, function () { return new Response('', 200, ['X-Debug-Token' => '292e1e']); });
2929
$request = Request::create('/');
3030
$response = $kernel->handle($request);
3131
$kernel->terminate($request, $response);

0 commit comments

Comments
 (0)