Updates the "create backup" test to handle the disk prefix.

This commit is contained in:
Corey Salzano
2026-03-24 23:00:47 -04:00
parent 3c31baf20d
commit aafcf147cf

View File

@@ -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,
],
]);
});