Bill transfer storage monthly with a 15-day grace period before deletion.
Deploy Ladill Transfer / deploy (push) Successful in 51s

Files stay available while wallet renewals succeed each month. Failed renewals
keep files for TRANSFER_GRACE_PERIOD_DAYS (default 15) before automatic cleanup.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-08 12:28:33 +00:00
co-authored by Cursor
parent 65b634bb0b
commit 311b5b40bb
23 changed files with 502 additions and 56 deletions
+3
View File
@@ -8,16 +8,19 @@ use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
use Tests\Concerns\FakesTransferBilling;
use Tests\TestCase;
class TransferApiTest extends TestCase
{
use FakesTransferBilling;
use RefreshDatabase;
protected function setUp(): void
{
parent::setUp();
Storage::fake('qr');
$this->fakeTransferBillingApi();
config([
'transfer.service_api_keys' => ['webmail' => 'test-webmail-key'],
'identity.api_url' => 'https://ladill.com/api',