updates automatically handled on the background

This commit is contained in:
Čarodej
2022-04-05 16:43:12 +02:00
parent 3649b6b7cf
commit 993dfc8fa1
21 changed files with 141 additions and 243 deletions

View File

@@ -1,11 +1,10 @@
<?php
namespace Tests\Support\Demo;
use Tests\TestCase;
use App\Users\Models\User;
use Domain\Sharing\Models\Share;
use Support\Demo\Actions\DeleteAllSharedLinksAction;
use Tests\TestCase;
use Support\Demo\Actions\DeleteAllDemoSharedLinksAction;
class DemoTest extends TestCase
{
@@ -30,7 +29,7 @@ class DemoTest extends TestCase
Share::factory()
->create(['user_id' => $howdy->id]);
resolve(DeleteAllSharedLinksAction::class)();
resolve(DeleteAllDemoSharedLinksAction::class)();
$this->assertDatabaseHas('shares', [
'user_id' => $user->id,
@@ -38,4 +37,4 @@ class DemoTest extends TestCase
'user_id' => $howdy->id,
]);
}
}
}