StyleCI recommendations

This commit is contained in:
El RIDO 2018-05-27 14:16:47 +02:00
parent 6cf599781a
commit e511613bbc
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 2 additions and 2 deletions

View File

@ -715,7 +715,7 @@ class PrivateBinTest extends PHPUnit_Framework_TestCase
{
$expiredPaste = Helper::getPaste(array('expire_date' => 1344803344));
$this->_model->create(Helper::getPasteId(), $expiredPaste);
$_SERVER['QUERY_STRING'] = Helper::getPasteId();
$_SERVER['QUERY_STRING'] = Helper::getPasteId();
$_SERVER['HTTP_X_REQUESTED_WITH'] = 'JSONHttpRequest';
ob_start();
new PrivateBin;
@ -799,7 +799,7 @@ class PrivateBinTest extends PHPUnit_Framework_TestCase
*/
public function testReadOldSyntax()
{
$paste = Helper::getPaste();
$paste = Helper::getPaste();
$paste['meta'] = array(
'syntaxcoloring' => true,
'postdate' => $paste['meta']['postdate'],