From aafcf147cfae517e9649220605457c1f9a606f53 Mon Sep 17 00:00:00 2001 From: Corey Salzano <938411+csalzano@users.noreply.github.com> Date: Tue, 24 Mar 2026 23:00:47 -0400 Subject: [PATCH] Updates the "create backup" test to handle the disk prefix. --- tests/Feature/Admin/BackupTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Feature/Admin/BackupTest.php b/tests/Feature/Admin/BackupTest.php index fcfd4b80..aa5308a6 100644 --- a/tests/Feature/Admin/BackupTest.php +++ b/tests/Feature/Admin/BackupTest.php @@ -50,9 +50,11 @@ test('create backup', function () { $response = getJson("/api/v1/backups?disk={$disk->driver}&&file_disk_id={$disk->id}"); + $prefix = env('DYNAMIC_DISK_PREFIX', 'temp_'); + $response->assertStatus(200)->assertJson([ 'disks' => [ - 'local', + $prefix.$disk->driver, ], ]); });