Commit 2436ce51 authored by Egor Kremnev's avatar Egor Kremnev

test

parent 42c575bb
......@@ -30,6 +30,8 @@ cp .env.dusk .env
php artisan key:generate
php artisan dusk:chrome-driver
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
success "Completed testing!"
......
......@@ -2,10 +2,15 @@
namespace Tests\Unit;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use PHPUnit\Framework\TestCase;
use Tests\CreatesApplication;
class ExampleTest extends TestCase
{
use CreatesApplication, RefreshDatabase, WithFaker;
/**
* A basic test example.
*
......
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