From 07f64102ddc5b19a0c2e3e9cae308336dad18c5a Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Wed, 1 Sep 2021 14:00:06 +0200 Subject: [PATCH] Fix build --- .../Controllers/MediaStructureControllerTests.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs index 8af43050f..19d8381ea 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));