1
0
Fork 0
mirror of https://github.com/archtechx/tenancy-queue-tester.git synced 2025-12-12 08:24:05 +00:00

add persistence, sync, and forceRefresh assertions

This commit is contained in:
Samuel Štancl 2025-01-07 15:37:37 +01:00
parent fd830beaf7
commit 6a047d3686
10 changed files with 562 additions and 29 deletions

20
setup/LogAbcJob.php Executable file
View file

@ -0,0 +1,20 @@
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class LogAbcJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public function handle(): void
{
file_put_contents(base_path('abc'), tenant('abc'));
}
}