X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fbootstrap.php;h=3508a7b170d1572b017120b1966f911ed9f7892f;hb=0640c1a6db6d9a13e5d0079f0bf42497010edbc7;hp=0afbcba61bb04da17b45b9ceb702a086ed816188;hpb=e26e2060f5470ce8bf4c5973284bae07b8af170a;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 0afbcba6..3508a7b1 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -18,7 +18,19 @@ 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 'application/feed/Cache.php'; -require_once 'tests/utils/ReferenceLinkDB.php'; -require_once 'tests/utils/ReferenceHistory.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'; +require_once 'tests/updater/DummyUpdater.php'; require_once 'tests/utils/FakeBookmarkService.php'; +require_once 'tests/utils/FakeConfigManager.php'; +require_once 'tests/utils/ReferenceHistory.php'; +require_once 'tests/utils/ReferenceLinkDB.php'; +require_once 'tests/utils/ReferenceSessionIdHashes.php'; + +\ReferenceSessionIdHashes::genAllHashes(); + +if (!defined('SHAARLI_MUTEX_FILE')) { + define('SHAARLI_MUTEX_FILE', __FILE__); +}