|
|
|
@ -61,16 +61,6 @@ namespace NzbDrone.Core.Test.NotificationTests.EmailTests
|
|
|
|
|
_validator.Validate(_emailSettings).IsValid.Should().BeFalse();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TestCase("radarr")]
|
|
|
|
|
[TestCase("radarr@radarr")]
|
|
|
|
|
[TestCase("radarr.video")]
|
|
|
|
|
public void should_not_be_valid_if_from_is_invalid(string email)
|
|
|
|
|
{
|
|
|
|
|
_emailSettings.From = email;
|
|
|
|
|
|
|
|
|
|
_validator.Validate(_emailSettings).IsValid.Should().BeFalse();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TestCase("radarr")]
|
|
|
|
|
[TestCase("radarr@radarr")]
|
|
|
|
|
[TestCase("radarr.video")]
|
|
|
|
|