Fixed test

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-08-07 18:42:59 +01:00
parent d31e7ed534
commit 40269a724b

View File

@@ -85,7 +85,7 @@ class UpdateLocationsTest extends TestCase
$file = UploadedFile::fake()->image('file.jpg', 100, 100)->size(100);
$this->actingAs(User::factory()->superuser()->create())
->post(route('upload/locations', $location), [
->post(route('ui.files.store', ['object_type' => 'locations', 'id' => $location->id]), [
'file' => [$file],
'notes' => 'Test Upload',
])