add .env.testing

This commit is contained in:
sengweitoo
2018-06-22 17:35:26 +08:00
parent b5862e4c4a
commit c0e722bca8
2 changed files with 21 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
APP_ENV=test
APP_DEBUG=true
APP_KEY=base64:Owaz/+O4RzKLOptjD28yfP1KeTiqsPOVgOPjP8/ZWIE=
APP_URL=http://localhost
CACHE_DRIVER=array
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=default
DB_USERNAME=default
DB_PASSWORD=secret
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
+1 -1
View File
@@ -16,7 +16,7 @@ curl -sS https://getcomposer.org/installer | php
php composer.phar install
# Copy over testing configuration.
cp .env-example .env
cp .env.testing .env
# Install xdebug
pecl install xdebug && docker-php-ext-enable xdebug