mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-21 15:53:13 +01:00
Add config cache clearing before tests
This commit is contained in:
parent
59db486c3c
commit
172e945f3f
@ -4,6 +4,8 @@ APP_KEY=base64:pdjaSqs7dDu8SdYCQzsayBAqeMC+85fmo3bpeBCCT94=
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://localhost
|
||||
|
||||
CACHE_STORE=array
|
||||
|
||||
WEBAUTHN_NAME=TestApp
|
||||
WEBAUTHN_ID=null
|
||||
WEBAUTHN_USER_VERIFICATION=discouraged
|
||||
|
@ -98,16 +98,24 @@
|
||||
],
|
||||
"test": [
|
||||
"php artisan config:clear",
|
||||
"php artisan test --parallel"
|
||||
"vendor/bin/phpunit",
|
||||
"php artisan config:clear"
|
||||
],
|
||||
"test-para": [
|
||||
"php artisan config:clear",
|
||||
"php artisan test --parallel",
|
||||
"php artisan config:clear"
|
||||
],
|
||||
"test-mysql": [
|
||||
"php artisan config:clear",
|
||||
"vendor/bin/phpunit -c phpunit-mysql.xml"
|
||||
"vendor/bin/phpunit -c phpunit-mysql.xml",
|
||||
"php artisan config:clear"
|
||||
],
|
||||
"test-coverage-html": [
|
||||
"@putenv XDEBUG_MODE=coverage",
|
||||
"php artisan config:clear",
|
||||
"vendor/bin/phpunit --coverage-html tests/Coverage/"
|
||||
"vendor/bin/phpunit --coverage-html tests/Coverage/",
|
||||
"php artisan config:clear"
|
||||
],
|
||||
"ide-helper": [
|
||||
"php artisan config:clear",
|
||||
|
Loading…
Reference in New Issue
Block a user