Add DatabaseTransactions

This commit is contained in:
Philipp Lang 2023-08-15 15:24:03 +02:00
parent 925754bd26
commit a858fd40a7
1 changed files with 3 additions and 0 deletions
tests/Feature/Member

View File

@ -3,12 +3,15 @@
namespace Tests\Feature\Member; namespace Tests\Feature\Member;
use App\Member\Member; use App\Member\Member;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Support\Facades\Queue; use Illuminate\Support\Facades\Queue;
use Tests\TestCase; use Tests\TestCase;
use Zoomyboy\Osm\FillCoordsJob; use Zoomyboy\Osm\FillCoordsJob;
class GeolocationTest extends TestCase class GeolocationTest extends TestCase
{ {
use DatabaseTransactions;
public function testItFiresGeolocationJob(): void public function testItFiresGeolocationJob(): void
{ {
Queue::fake(); Queue::fake();