Commit 50cf7923 authored by Egor Kremnev's avatar Egor Kremnev

test

parent 2436ce51
...@@ -27,11 +27,13 @@ php artisan test ...@@ -27,11 +27,13 @@ php artisan test
info "Setup environment for dusk test" info "Setup environment for dusk test"
cp .env.dusk .env cp .env.dusk .env
touch database/database.unit.sqlite
touch database/database.dusk.sqlite
php artisan key:generate php artisan key:generate
php artisan dusk:chrome-driver php artisan dusk:chrome-driver
nohup bash -c "php artisan serve --env=dusk --port=4343 2>&1 &" && sleep 5 nohup bash -c "php artisan serve --env=dusk --port=4343 2>&1 &" && sleep 5
touch database/database.unit.sqlite
touch database/database.dusk.sqlite
php artisan dusk php artisan dusk
success "Completed testing!" success "Completed testing!"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment