[HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable
This commit is contained in:
parent
e62b602dc4
commit
2699009770
|
@ -1951,7 +1951,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase
|
||||||
public function testMethodSafeChecksCacheable()
|
public function testMethodSafeChecksCacheable()
|
||||||
{
|
{
|
||||||
$request = new Request();
|
$request = new Request();
|
||||||
$request->setMethod('OPTION');
|
$request->setMethod('OPTIONS');
|
||||||
$this->assertFalse($request->isMethodSafe());
|
$this->assertFalse($request->isMethodSafe());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue