Skip to content

Commit b49998e

Browse files
minor symfony#25463 [HttpFoundation] Fix tests (chalasr)
This PR was merged into the 3.3 branch. Discussion ---------- [HttpFoundation] Fix tests | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | not yet | Fixed tickets | n/a | License | MIT | Doc PR | n/a Remains filesystem ones due to symfony#25420, going to have a look in this PR in the next hour if nobody does before. Commits ------- ef6adb8 Fix tests
2 parents 79b64ce + ef6adb8 commit b49998e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/HttpFoundation/Tests/ResponseHeaderBagTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,10 @@ public function testCookiesWithSameNames()
199199

200200
$cookies = $bag->getCookies(ResponseHeaderBag::COOKIES_ARRAY);
201201

202-
$this->assertArrayHasKey('foo', $cookies['foo.bar']['/path/foo']));
203-
$this->assertArrayHasKey('foo', $cookies['foo.bar']['/path/bar']));
204-
$this->assertArrayHasKey('foo', $cookies['bar.foo']['/path/bar']));
205-
$this->assertArrayHasKey('foo', $cookies['']['/']));
202+
$this->assertArrayHasKey('foo', $cookies['foo.bar']['/path/foo']);
203+
$this->assertArrayHasKey('foo', $cookies['foo.bar']['/path/bar']);
204+
$this->assertArrayHasKey('foo', $cookies['bar.foo']['/path/bar']);
205+
$this->assertArrayHasKey('foo', $cookies['']['/']);
206206
}
207207

208208
public function testRemoveCookie()

0 commit comments

Comments
 (0)