Merge branch '2.8' into 3.1
* 2.8: [HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable
This commit is contained in:
commit
401396ac12
@ -1990,7 +1990,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase
|
||||
public function testMethodSafeChecksCacheable()
|
||||
{
|
||||
$request = new Request();
|
||||
$request->setMethod('OPTION');
|
||||
$request->setMethod('OPTIONS');
|
||||
$this->assertFalse($request->isMethodSafe());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user