From 7aa802445a67efb13fdfcc75d7425d51ac153857 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Thu, 20 Aug 2026 22:25:11 +0700 Subject: [PATCH] feat: add testing environment configuration and update phpunit settings for MySQL --- .env.testing | 23 +++++++++++++++++++++++ phpunit.xml | 8 +++++--- 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 .env.testing diff --git a/.env.testing b/.env.testing new file mode 100644 index 0000000..aee524a --- /dev/null +++ b/.env.testing @@ -0,0 +1,23 @@ +APP_NAME=Laravel +APP_ENV=testing +APP_KEY= +APP_DEBUG=true +APP_URL=http://127.0.0.1:8000 + +LOG_CHANNEL=daily +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug + +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=pangestu_dst_store_testing +DB_USERNAME=root +DB_PASSWORD=Aggygga13@myadmin + +CACHE_STORE=array +DEVELOPMENT_CACHE_STORE=array +SESSION_DRIVER=array +QUEUE_CONNECTION=sync + +MAIL_MAILER=array diff --git a/phpunit.xml b/phpunit.xml index e7f0a48..68369d3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -17,14 +17,15 @@ app - + + - - + + @@ -33,4 +34,5 @@ +