apply StyleCI patch

This commit is contained in:
El RIDO
2019-05-10 21:45:34 +02:00
parent 632d70412a
commit 1e44902340
9 changed files with 51 additions and 54 deletions

View File

@@ -77,7 +77,7 @@ class JsonApiTest extends PHPUnit_Framework_TestCase
$options['traffic']['limit'] = 0;
Helper::createIniFile(CONF, $options);
$paste = Helper::getPastePostJson();
$file = tempnam(sys_get_temp_dir(), 'FOO');
$file = tempnam(sys_get_temp_dir(), 'FOO');
file_put_contents($file, http_build_query($paste));
Request::setInputStream($file);
$_SERVER['QUERY_STRING'] = Helper::getPasteId();