[HttpFoundation] Fix test ensuring isMethodSafe() checks cacheable

This commit is contained in:
Robin Chalas 2016-11-25 23:28:18 +01:00
parent e62b602dc4
commit 2699009770
No known key found for this signature in database
GPG Key ID: 89672113756EE03B
1 changed files with 1 additions and 1 deletions

View File

@ -1951,7 +1951,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase
public function testMethodSafeChecksCacheable()
{
$request = new Request();
$request->setMethod('OPTION');
$request->setMethod('OPTIONS');
$this->assertFalse($request->isMethodSafe());
}