summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-06-01 17:35:30 +0200
committerJoas Schilling <nickvergessen@gmx.de>2015-06-01 17:35:30 +0200
commit1c47b146514f8a951ea432f3900d70b56abbf649 (patch)
tree847c12a7cb633d4229791b7e2269370ae813e58c
parent73875da4b0d4b273e89906d5ed0567d05c963e05 (diff)
parente6b0a7a55a8d078a4fdfade5ba604372b7a96d09 (diff)
downloadnextcloud-server-1c47b146514f8a951ea432f3900d70b56abbf649.tar.gz
nextcloud-server-1c47b146514f8a951ea432f3900d70b56abbf649.zip
Merge pull request #16663 from owncloud/no-sense-to-check-for-cli
Remove check for RAW_POPULATE_POST_DATA for unit tests
-rw-r--r--tests/bootstrap.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 5945dbdc11f..085eb2069c4 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -6,13 +6,6 @@ if ($configDir) {
define('PHPUNIT_CONFIG_DIR', $configDir);
}
-if (!defined('HHVM_VERSION')) {
- if(version_compare(phpversion(), '5.6.0', '>=') &&
- ini_get('always_populate_raw_post_data') !== '-1') {
- throw new Exception("'always_populate_raw_post_data' has to be set to '-1' in your php.ini");
- }
-}
-
require_once __DIR__ . '/../lib/base.php';
// load minimum set of apps