Fixed phpunit tests

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2022-03-14 20:41:38 +01:00
parent d8d4084550
commit 866c1ce1a8

View File

@ -3,6 +3,7 @@
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
define('DIR_BASE', $_ENV['DIR_BASE']); define('DIR_BASE', $_ENV['DIR_BASE']);
define('MAX_EMAIL_LEN', 41);
include_once(DIR_BASE . "system/model.php"); include_once(DIR_BASE . "system/model.php");
include_once(DIR_BASE . "model/search/search.php"); include_once(DIR_BASE . "model/search/search.php");