Fix build

This commit is contained in:
Bond_009 2021-09-01 14:00:06 +02:00
parent 4cd372109d
commit 07f64102dd

View File

@ -87,10 +87,7 @@ namespace Jellyfin.Server.Integration.Tests.Controllers
var data = new UpdateMediaPathRequestDto() var data = new UpdateMediaPathRequestDto()
{ {
Name = " ", Name = " ",
PathInfo = new MediaPathInfo PathInfo = new MediaPathInfo("test")
{
Path = "test"
}
}; };
using var postContent = new ByteArrayContent(JsonSerializer.SerializeToUtf8Bytes(data, _jsonOptions)); using var postContent = new ByteArrayContent(JsonSerializer.SerializeToUtf8Bytes(data, _jsonOptions));