feat: add PollFuelPricesJob queued job
This commit is contained in:
12
tests/Unit/Jobs/PollFuelPricesJobTest.php
Normal file
12
tests/Unit/Jobs/PollFuelPricesJobTest.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
use App\Jobs\PollFuelPricesJob;
|
||||
use Illuminate\Support\Facades\Queue;
|
||||
|
||||
it('dispatches to the default queue', function () {
|
||||
Queue::fake();
|
||||
|
||||
PollFuelPricesJob::dispatch();
|
||||
|
||||
Queue::assertPushed(PollFuelPricesJob::class);
|
||||
});
|
||||
Reference in New Issue
Block a user