mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 00:03:09 +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_DEBUG=true
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
|
||||||
|
CACHE_STORE=array
|
||||||
|
|
||||||
WEBAUTHN_NAME=TestApp
|
WEBAUTHN_NAME=TestApp
|
||||||
WEBAUTHN_ID=null
|
WEBAUTHN_ID=null
|
||||||
WEBAUTHN_USER_VERIFICATION=discouraged
|
WEBAUTHN_USER_VERIFICATION=discouraged
|
||||||
|
@ -98,16 +98,24 @@
|
|||||||
],
|
],
|
||||||
"test": [
|
"test": [
|
||||||
"php artisan config:clear",
|
"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": [
|
"test-mysql": [
|
||||||
"php artisan config:clear",
|
"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": [
|
"test-coverage-html": [
|
||||||
"@putenv XDEBUG_MODE=coverage",
|
"@putenv XDEBUG_MODE=coverage",
|
||||||
"php artisan config:clear",
|
"php artisan config:clear",
|
||||||
"vendor/bin/phpunit --coverage-html tests/Coverage/"
|
"vendor/bin/phpunit --coverage-html tests/Coverage/",
|
||||||
|
"php artisan config:clear"
|
||||||
],
|
],
|
||||||
"ide-helper": [
|
"ide-helper": [
|
||||||
"php artisan config:clear",
|
"php artisan config:clear",
|
||||||
|
Loading…
Reference in New Issue
Block a user