From 40269a724b63a552c1d8533315276ac5172dd837 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 7 Aug 2025 18:42:59 +0100 Subject: [PATCH] Fixed test Signed-off-by: snipe --- tests/Feature/Locations/Ui/UpdateLocationsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Locations/Ui/UpdateLocationsTest.php b/tests/Feature/Locations/Ui/UpdateLocationsTest.php index a4c6e9c6b0..7dabdf8371 100644 --- a/tests/Feature/Locations/Ui/UpdateLocationsTest.php +++ b/tests/Feature/Locations/Ui/UpdateLocationsTest.php @@ -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', ])