mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-09-29 06:59:38 -04:00
Apply StyleCi recommendation
This commit is contained in:
parent
c2a46b7af7
commit
34c64acb75
3 changed files with 4 additions and 4 deletions
|
@ -135,7 +135,7 @@ class RequestTest extends PHPUnit_Framework_TestCase
|
|||
$_SERVER['REQUEST_METHOD'] = 'POST';
|
||||
$_SERVER['HTTP_X_REQUESTED_WITH'] = 'JSONHttpRequest';
|
||||
$_SERVER['QUERY_STRING'] = $id;
|
||||
$_GET = [$id => ''];
|
||||
$_GET = array($id => '');
|
||||
$_POST['deletetoken'] = 'bar';
|
||||
$request = new Request;
|
||||
$this->assertTrue($request->isJsonApiCall(), 'is JSON Api call');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue