mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
41f769790d
Fixed: Adding a series when an existing series is has a null slug Closes #1840
17 lines
338 B
C#
17 lines
338 B
C#
using System;
|
|
using FluentValidation;
|
|
|
|
namespace NzbDrone.Test.Common
|
|
{
|
|
public class TestValidator<T> : InlineValidator<T>
|
|
{
|
|
public TestValidator(params Action<TestValidator<T>>[] actions)
|
|
{
|
|
foreach (var action in actions)
|
|
{
|
|
action(this);
|
|
}
|
|
}
|
|
}
|
|
}
|