Skip to content

A free open source IT asset/license management system

Fixed test

snipe40269a724b63
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',
])