Skip to content

Commit 9963bc2

Browse files
committed
Merge branch '3.1' into 3.2
* 3.1: [HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable
2 parents 9d13417 + 88a1d3c commit 9963bc2

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
@@ -2020,7 +2020,7 @@ public function methodSafeProvider()
20202020
public function testMethodSafeChecksCacheable()
20212021
{
20222022
$request = new Request();
2023-
$request->setMethod('OPTION');
2023+
$request->setMethod('OPTIONS');
20242024
$this->assertFalse($request->isMethodSafe());
20252025
}
20262026

0 commit comments

Comments
 (0)