Finish re-working tests to run on test database
This commit is contained in:
parent
09fc211623
commit
1abca77bdc
50 changed files with 535 additions and 265 deletions
|
@ -5,6 +5,7 @@ declare(strict_types=1);
|
|||
namespace Tests\Feature;
|
||||
|
||||
use App\Jobs\DownloadWebMention;
|
||||
use App\Models\WebMention;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Support\Facades\Queue;
|
||||
use Tests\TestCase;
|
||||
|
@ -16,6 +17,8 @@ class ReDownloadWebMentionsTest extends TestCase
|
|||
{
|
||||
Queue::fake();
|
||||
|
||||
WebMention::factory()->create();
|
||||
|
||||
Artisan::call('webmentions:redownload');
|
||||
|
||||
Queue::assertPushed(DownloadWebMention::class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue