Skip to content

Commit 88a1d3c

Browse files
committed
Merge branch '2.8' into 3.1
* 2.8: [HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable
2 parents afede06 + 216c111 commit 88a1d3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)