prepaeres to some code for the tests

This commit is contained in:
Berkay Güre
2018-07-14 13:22:33 +03:00
parent 1745f0a41e
commit 12bdb951f9
23 changed files with 1559 additions and 163 deletions

24
.env.testing Normal file
View File

@ -0,0 +1,24 @@
APP_NAME=Akaunting
APP_ENV=testing
APP_LOCALE=en-GB
APP_INSTALLED=false
APP_KEY=base64:xBC+BxlC7sXhYAtpTZv8TYAHqoPgsJaXL0S5Id6BbBc=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://akaunting.test
DB_CONNECTION=sqlite
DB_DATABASE=:memory:
DB_PREFIX=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=database
MAIL_DRIVER=mail
MAIL_HOST=localhost
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null