Skip to content

The Free Software Media System - Server Backend & API

Fix build

Bond_00907f64102ddc5
diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs
index 8af43050f6..19d8381ea5 100644
--- a/tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs
+++ b/tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs
@@ -87,10 +87,7 @@ namespace Jellyfin.Server.Integration.Tests.Controllers
var data = new UpdateMediaPathRequestDto()
{
Name = " ",
- PathInfo = new MediaPathInfo
- {
- Path = "test"
- }
+ PathInfo = new MediaPathInfo("test")
};
using var postContent = new ByteArrayContent(JsonSerializer.SerializeToUtf8Bytes(data, _jsonOptions));