diff --git a/.env.testing.example b/.env.testing.example new file mode 100644 index 0000000000..2a6a446bfc --- /dev/null +++ b/.env.testing.example @@ -0,0 +1,19 @@ +# -------------------------------------------- +# REQUIRED: BASIC APP SETTINGS +# -------------------------------------------- +APP_ENV=testing +APP_DEBUG=true +APP_KEY=base64:glJpcM7BYwWiBggp3SQ/+NlRkqsBQMaGEOjemXqJzOU= +APP_URL=http://localhost:8000 +APP_TIMEZONE='UTC' +APP_LOCALE=en + +# -------------------------------------------- +# REQUIRED: DATABASE SETTINGS +# -------------------------------------------- +# DB_CONNECTION is set to "mysql" in phpunit.xml +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=null +DB_USERNAME=null +DB_PASSWORD=null diff --git a/.gitignore b/.gitignore index e49e69c9ae..04b0d7e6b6 100755 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .env .env.dusk.* !.env.dusk.example +!.env.testing phpstan.neon .idea /bin/ diff --git a/phpunit.xml b/phpunit.xml index 4ee53b57b3..b0ce0a6f23 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -28,6 +28,7 @@ +