This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/tests/defines.php
2024-08-31 22:00:30 +01:00

25 lines
624 B
PHP

<?php
declare(strict_types=1);
namespace Shimmie2;
define("UNITTEST", true);
$_all_exts = glob('ext/*');
assert($_all_exts !== false);
define("EXTRA_EXTS", str_replace("ext/", "", implode(',', $_all_exts)));
define("DATABASE_DSN", null);
define("DATABASE_TIMEOUT", 10000);
define("CACHE_DSN", null);
define("DEBUG", false);
define("COOKIE_PREFIX", 'shm');
define("WH_SPLITS", 1);
define("VERSION", 'unit-tests');
define("TRACE_FILE", null);
define("TRACE_THRESHOLD", 0.0);
define("TIMEZONE", 'UTC');
define("CLI_LOG_LEVEL", 50);
define("STATSD_HOST", null);
define("TRUSTED_PROXIES", []);
define("SECRET", "asdfghjkl");