X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fbootstrap.php;h=3508a7b170d1572b017120b1966f911ed9f7892f;hb=0640c1a6db6d9a13e5d0079f0bf42497010edbc7;hp=d4ddedd50a6f06d26d05a12121be7c29c6392a64;hpb=af41d5ab5d2bd3ba64d052c997bc6afa6966a63c;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/bootstrap.php b/tests/bootstrap.php index d4ddedd5..3508a7b1 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -18,6 +18,7 @@ require_once 'application/bookmark/LinkUtils.php'; require_once 'application/Utils.php'; require_once 'application/http/UrlUtils.php'; require_once 'application/http/HttpUtils.php'; +require_once 'tests/TestCase.php'; require_once 'tests/container/ShaarliTestContainer.php'; require_once 'tests/front/controller/visitor/FrontControllerMockHelper.php'; require_once 'tests/front/controller/admin/FrontAdminControllerMockHelper.php'; @@ -29,3 +30,7 @@ require_once 'tests/utils/ReferenceLinkDB.php'; require_once 'tests/utils/ReferenceSessionIdHashes.php'; \ReferenceSessionIdHashes::genAllHashes(); + +if (!defined('SHAARLI_MUTEX_FILE')) { + define('SHAARLI_MUTEX_FILE', __FILE__); +}