Skip to content

Commit

Permalink
chore: Update database configuration to use SQLite for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPunyapal committed Aug 10, 2024
1 parent 266da10 commit 9fd94a5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 22 deletions.
7 changes: 1 addition & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=basic_crud
DB_USERNAME=root
DB_PASSWORD=
DB_CONNECTION=sqlite

SESSION_DRIVER=database
SESSION_LIFETIME=120
Expand Down
34 changes: 18 additions & 16 deletions .env.testing.example
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
APP_ENV=testing
APP_KEY=
APP_DEBUG=true
APP_ENV=testing
APP_KEY=
APP_DEBUG=true

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=basic_crud_testing
DB_USERNAME=root
DB_PASSWORD=

CACHE_DRIVER=array
QUEUE_CONNECTION=sync
SESSION_DRIVER=array
DB_CONNECTION=sqlite
DB_DATABASE=:memory:

MAIL_MAILER=array

#
CACHE_DRIVER=array
QUEUE_CONNECTION=sync
SESSION_DRIVER=array

BCRYPT_ROUNDS=4

TELESCOPE_ENABLED=false
MAIL_MAILER=array


#


BCRYPT_ROUNDS=4


TELESCOPE_ENABLED=false

0 comments on commit 9fd94a5

Please sign in to comment.