You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
621 B
24 lines
621 B
1 year ago
|
using Recyclarr.Cli.Pipelines.MediaNaming.PipelinePhases.Config;
|
||
|
|
||
9 months ago
|
namespace Recyclarr.Cli.Tests.Pipelines.MediaNaming.Config;
|
||
1 year ago
|
|
||
|
[TestFixture]
|
||
|
[Parallelizable(ParallelScope.All)]
|
||
|
public class NamingFormatLookupTest
|
||
|
{
|
||
|
[Test, AutoMockData]
|
||
|
public void Assign_null_when_config_null(
|
||
|
NamingFormatLookup sut)
|
||
|
{
|
||
|
var namingData = new Dictionary<string, string>
|
||
|
{
|
||
|
{"default", "folder_default"},
|
||
|
{"plex", "folder_plex"},
|
||
|
{"emby", "folder_emby"}
|
||
|
};
|
||
|
|
||
|
var result = sut.ObtainFormat(namingData, null, "");
|
||
|
result.Should().BeNull();
|
||
|
}
|
||
|
}
|