diff --git a/app/Jobs/StoreChunk.php b/app/Jobs/StoreChunk.php new file mode 100644 index 0000000..5b59bc1 --- /dev/null +++ b/app/Jobs/StoreChunk.php @@ -0,0 +1,35 @@ +andReturn($path); + Storage::shouldReceive('delete')->andReturnTrue(); + + (new ChunkFile( + Str::uuid(), + $path, + FileFormatEnum::JSON + ))->handle(); + + Bus::assertDispatched(StoreChunk::class, 1); + } +}