<?php namespace Lightscale\LaralightTables\Tests; use Lightscale\LaralightTables\ServiceProvider; use Workbench\Database\Seeders\DatabaseSeeder; use Orchestra\Testbench\TestCase as Orchestra; use Orchestra\Testbench\Concerns\WithWorkbench; use function Orchestra\Testbench\workbench_path; use Illuminate\Foundation\Testing\RefreshDatabase; use Livewire\LivewireServiceProvider; class TestCase extends Orchestra { use RefreshDatabase; use WithWorkbench; protected $seed = true; protected $seeder = DatabaseSeeder::class; protected function getPackageProviders($app) { return [ ServiceProvider::class, LivewireServiceProvider::class, ]; } protected function defineDatabaseMigrations() { $this->loadMigrationsFrom( workbench_path('database/migrations') ); } }