mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-10-08 06:05:02 -04:00
19 lines
656 B
C#
19 lines
656 B
C#
using System.Reflection;
|
|
using allstarr.Controllers;
|
|
|
|
namespace allstarr.Tests;
|
|
|
|
public sealed class FavoriteFileSafetyTests
|
|
{
|
|
[Fact]
|
|
public void JellyfinController_HasNoImplicitPendingDeletionProcessor()
|
|
{
|
|
var methods = typeof(JellyfinController).GetMethods(
|
|
BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
|
|
|
|
Assert.DoesNotContain(methods, method => method.Name == "MarkTrackForDeletionAsync");
|
|
Assert.DoesNotContain(methods, method => method.Name == "ProcessPendingDeletionsAsync");
|
|
Assert.DoesNotContain(methods, method => method.Name == "ActuallyDeleteTrackAsync");
|
|
}
|
|
}
|