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

26 lines
621 B
PHP
Raw Normal View History

<?php
2021-12-14 18:32:47 +00:00
2023-01-10 21:21:26 +00:00
declare(strict_types=1);
namespace Shimmie2;
define("UNITTEST", true);
2024-01-20 19:47:26 +00:00
$_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("SPEED_HAX", false);
define("WH_SPLITS", 1);
2020-01-27 20:02:39 +00:00
define("VERSION", 'unit-tests');
define("TRACE_FILE", null);
define("TRACE_THRESHOLD", 0.0);
define("TIMEZONE", 'UTC');
define("CLI_LOG_LEVEL", 50);
2020-03-13 09:23:54 +00:00
define("STATSD_HOST", null);
define("TRUSTED_PROXIES", []);