aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-09-01 14:00:06 +0200
committerBond_009 <bond.009@outlook.com>2021-09-01 14:06:09 +0200
commit07f64102ddc5b19a0c2e3e9cae308336dad18c5a (patch)
tree91611f97aa0b7a87188c445efe782bb11b270482 /tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs
parent4cd372109dbc740e7e97719b44dec114524e54b5 (diff)
Fix build
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs')
-rw-r--r--tests/Jellyfin.Server.Integration.Tests/Controllers/MediaStructureControllerTests.cs5
1 files changed, 1 insertions, 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));