8000 Merge branch '2.8' into 3.1 · src-run/symfony@401396a · GitHub
[go: up one dir, main page]

Skip to content

Commit 401396a

Browse files
committed
Merge branch '2.8' into 3.1
* 2.8: [HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable
2 parents 966d45f + cae4755 commit 401396a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ public function methodSafeProvider()
19901990
public function testMethodSafeChecksCacheable()
19911991
{
19921992
$request = new Request();
1993-
$request->setMethod('OPTION');
1993+
$request->setMethod('OPTIONS');
19941994
$this->assertFalse($request->isMethodSafe());
19951995
}
19961996

0 commit comments

Comments
 (0)
0