Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/0f7c875076e29f0c86c536840c71cec29fab08fb
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
7 additions and
2 deletions
@ -7,6 +7,7 @@ using System.Text.Json;
using System.Threading.Tasks ;
using Jellyfin.Api.Models.LibraryStructureDto ;
using Jellyfin.Extensions.Json ;
using MediaBrowser.Model.Configuration ;
using Xunit ;
namespace Jellyfin.Server.Integration.Tests.Controllers
@ -78,14 +79,18 @@ namespace Jellyfin.Server.Integration.Tests.Controllers
}
[Fact]
public async Task UpdateMediaPath_ Empty Name_ReturnsBadRequest( )
public async Task UpdateMediaPath_ WhiteSpace Name_ReturnsBadRequest( )
{
var client = _factory . CreateClient ( ) ;
client . DefaultRequestHeaders . AddAuthHeader ( _accessToken ? ? = await AuthHelper . CompleteStartupAsync ( client ) . ConfigureAwait ( false ) ) ;
var data = new UpdateMediaPathRequestDto ( )
{
Name = string . Empty ,
Name = " " ,
PathInfo = new MediaPathInfo
{
Path = "test"
}
} ;
using var postContent = new ByteArrayContent ( JsonSerializer . SerializeToUtf8Bytes ( data , _jsonOptions ) ) ;