From ba9250167062f42fd73b7412b75791ba6dfde314 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 6 Mar 2023 17:34:43 -0800 Subject: [PATCH] Add .env.testing.example file --- .env.testing.example | 19 +++++++++++++++++++ .gitignore | 1 + phpunit.xml | 1 + 3 files changed, 21 insertions(+) create mode 100644 .env.testing.example 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 @@ +