8000 [HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable · src-run/symfony@2699009 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2699009

Browse files
committed
[HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable
1 parent e62b602 commit 2699009

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
@@ -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)
0