Skip to content

Commit afd6791

Browse files
committed
Fix phpunit
1 parent b3b53b6 commit afd6791

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/bootstrap.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@
66
require_once __DIR__ . '/mock/SPC_store.php';
77

88
\SPC\util\AttributeMapper::init();
9+
10+
$log_dir = SPC_LOGS_DIR;
11+
if (!file_exists($log_dir)) {
12+
mkdir($log_dir, 0755, true);
13+
}

0 commit comments

Comments
 (0)