mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Fix phpunit
This commit is contained in:
parent
b3b53b6b4d
commit
afd6791075
@ -6,3 +6,8 @@ require_once __DIR__ . '/../src/globals/internal-env.php';
|
||||
require_once __DIR__ . '/mock/SPC_store.php';
|
||||
|
||||
\SPC\util\AttributeMapper::init();
|
||||
|
||||
$log_dir = SPC_LOGS_DIR;
|
||||
if (!file_exists($log_dir)) {
|
||||
mkdir($log_dir, 0755, true);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user