mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-01 03:26:36 +08:00 
			
		
		
		
	Use Mock tests, after checking the real test.
				
					
				
			This commit is contained in:
		| @ -86,6 +86,10 @@ class ServeController extends Controller | ||||
|             $command .= " -r \"{$router}\""; | ||||
|         } | ||||
|  | ||||
|         if (YII_ENV === 'test') { | ||||
|             return true; | ||||
|         } | ||||
|  | ||||
|         passthru($command); | ||||
|     } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Wilmer Arambula
					Wilmer Arambula