Skip to content

Commit fd196b0

Browse files
committed
[HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable
1 parent 31cb591 commit fd196b0

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
@@ -1951,7 +1951,7 @@ public function methodSafeProvider()
19511951
public function testMethodSafeChecksCacheable()
19521952
{
19531953
$request = new Request();
1954-
$request->setMethod('OPTION');
1954+
$request->setMethod('OPTIONS');
19551955
$this->assertFalse($request->isMethodSafe());
19561956
}
19571957

0 commit comments

Comments
 (0)