mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Define env in phpunit.xml
This commit is contained in:
parent
5a401a5f92
commit
0d3a80e582
@ -2,4 +2,7 @@
|
||||
<phpunit
|
||||
bootstrap="tests/bootstrap.php"
|
||||
>
|
||||
<php>
|
||||
<env name="SPC_IGNORE_BAD_HASH" value="yes" force="true" />
|
||||
</php>
|
||||
</phpunit>
|
||||
@ -2,7 +2,5 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
putenv('SPC_IGNORE_BAD_HASH=yes');
|
||||
|
||||
require_once __DIR__ . '/../src/globals/internal-env.php';
|
||||
require_once __DIR__ . '/mock/SPC_store.php';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user