Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/blame/commit/0870af330df1040eddf76ae2b7cde3e97061b745/tests/Jellyfin.Extensions.Tests/ShuffleExtensionsTests.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
jellyfin/tests/Jellyfin.Extensions.Tests/ShuffleExtensionsTests.cs

20 lines
446 B

using System;
using Xunit;
namespace Jellyfin.Extensions.Tests
{
public static class ShuffleExtensionsTests
{
[Fact]
public static void Shuffle_Valid_Correct()
{
byte[] original = new byte[1 << 6];
Random.Shared.NextBytes(original);
byte[] shuffled = (byte[])original.Clone();
shuffled.Shuffle();
Assert.NotEqual(original, shuffled);
}
}
}