You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
384 B
15 lines
384 B
<?php |
|
|
|
declare(strict_types=1); |
|
|
|
require_once __DIR__ . '/../vendor/autoload.php'; |
|
|
|
// Create test storage directory |
|
$GLOBALS['test_storage_path'] = __DIR__ . '/test-storage'; |
|
if (!is_dir($GLOBALS['test_storage_path'])) { |
|
mkdir($GLOBALS['test_storage_path'], 0755, true); |
|
} |
|
|
|
// Clean up any existing test data |
|
array_map('unlink', glob("{$GLOBALS['test_storage_path']}/*.json")); |
|
|
|
|