mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
More CS fixes
This commit is contained in:
parent
2962b387d7
commit
835fc9ce01
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue