| 
									
										
										
										
											2014-10-23 18:45:46 +03:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-01-02 09:46:13 +01:00
										 |  |  | if (!defined('PHPUNIT_RUN')) { | 
					
						
							|  |  |  | 	define('PHPUNIT_RUN', 1); | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2014-10-23 18:45:46 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | require_once __DIR__.'/../../../lib/base.php'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if(!class_exists('PHPUnit_Framework_TestCase')) { | 
					
						
							|  |  |  | 	require_once('PHPUnit/Autoload.php'); | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2015-09-17 19:55:02 +03:00
										 |  |  | \OC_App::loadApp('documents'); | 
					
						
							| 
									
										
										
										
											2014-10-23 18:45:46 +03:00
										 |  |  | OC_Hook::clear(); |