1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-18 00:06:26 +02:00

PriorityCallbacks: Execute callbacks before Codeception's

GitPreparer now registers a "priority" register_shutdown_function
callback in order to clean up in case of a fatal error.
This commit is contained in:
Nick Liu
2018-11-01 06:55:26 -05:00
parent 6f416523c3
commit 952c6e5890
4 changed files with 54 additions and 2 deletions

View File

@@ -11,4 +11,7 @@ if (substr($app_path, 0, 1) !== '/')
$app_path = codecept_root_dir() . "/${app_path}";
define('APP_PATH', realpath($app_path));
define('PARAMS_SERIALIZED', serialize($params));
define('PARAMS_SERIALIZED', serialize($params));
// Provide a way to register callbacks that execute before Codeception's
include(codecept_root_dir()."/lib/PriorityCallbacks.php");