You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bootstrap.php 345B

12345678910111213141516171819
  1. <?php
  2. define('PHPUNIT_RUN', 1);
  3. $configDir = getenv('CONFIG_DIR');
  4. if ($configDir) {
  5. define('PHPUNIT_CONFIG_DIR', $configDir);
  6. }
  7. require_once __DIR__ . '/../lib/base.php';
  8. if (!class_exists('PHPUnit_Framework_TestCase')) {
  9. require_once('PHPUnit/Autoload.php');
  10. }
  11. OC_Hook::clear();
  12. OC_Log::$enabled = false;
  13. OC_FileProxy::clearProxies();