diff --git a/src/Illuminate/Contracts/Foundation/Application.php b/src/Illuminate/Contracts/Foundation/Application.php index a7d643b15ace..6824f4b84498 100644 --- a/src/Illuminate/Contracts/Foundation/Application.php +++ b/src/Illuminate/Contracts/Foundation/Application.php @@ -33,6 +33,13 @@ public function environment(); * @return bool */ public function runningInConsole(); + + /** + * Determine if we are running unit tests. + * + * @return bool + */ + public function runningUnitTests(); /** * Determine if the application is currently down for maintenance.