mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
Remove validation test for From Addresses
This commit is contained in:
parent
74c89e1d44
commit
7410a2db5d
@ -61,16 +61,6 @@ public void should_not_be_valid_if_from_is_empty()
|
|||||||
_validator.Validate(_emailSettings).IsValid.Should().BeFalse();
|
_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")]
|
||||||
[TestCase("radarr@radarr")]
|
[TestCase("radarr@radarr")]
|
||||||
[TestCase("radarr.video")]
|
[TestCase("radarr.video")]
|
||||||
|
Loading…
Reference in New Issue
Block a user