More CS fixes

This commit is contained in:
José Lorenzo Rodríguez 2016-01-19 13:52:16 -04:30
parent 2962b387d7
commit 835fc9ce01

View file

@ -2450,9 +2450,8 @@ XML;
*
* @return void
*/
public function testMethodOverrideEmptyData()
{
$_POST= array('_method' => 'GET', 'foo' => 'bar');
public function testMethodOverrideEmptyData() {
$_POST = array('_method' => 'GET', 'foo' => 'bar');
$_SERVER['REQUEST_METHOD'] = 'PUT';
$request = new CakeRequest('/posts/edit/1');
$this->assertEmpty($request->data);