Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/src/commit/1d1eb62ae1f3fdab5ea2949db2b9b157e23237e4/tests/Recyclarr.Cli.Tests/Cache/CacheStoragePathTest.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
recyclarr/tests/Recyclarr.Cli.Tests/Cache/CacheStoragePathTest.cs

23 lines
549 B

using Recyclarr.Cli.Cache;
using Recyclarr.Config.Models;
namespace Recyclarr.Cli.Tests.Cache;
[TestFixture]
public class CacheStoragePathTest
{
[Test, AutoMockData]
public void Use_correct_name_in_path(CacheStoragePath sut)
{
var config = new SonarrConfiguration
{
BaseUrl = new Uri("http://something/foo/bar"),
InstanceName = "thename"
};
var result = sut.CalculatePath(config, "obj");
result.FullName.Should().MatchRegex(@".*[/\\][a-f0-9]+[/\\]obj\.json$");
}
}