Blame view

sources/apps/contacts/tests/bootstrap.php 332 Bytes
923852aa1   Kload   Official Owncloud...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  <?php
  
  global $RUNTIME_NOAPPS;
  $RUNTIME_NOAPPS = true;
  
  if(!defined('PHPUNIT_RUN')) {
  	define('PHPUNIT_RUN', 1);
  }
  
  require_once __DIR__.'/../../core/lib/base.php';
  
  if(!class_exists('PHPUnit_Framework_TestCase')) {
  	require_once('PHPUnit/Autoload.php');
  }
  
  //OC_App::enable('contacts');
  
  OC_Hook::clear();
  OC_Log::$enabled = true;