mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-24 08:44:46 +00:00
Fixed broken unit test for parsing future daily shows.
This commit is contained in:
parent
fbc0a561ca
commit
d82edba26c
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ namespace NzbDrone.Core.Test
|
|||
[Test]
|
||||
public void parse_daily_should_fail_if_episode_is_far_in_future()
|
||||
{
|
||||
var title = string.Format("{0}.{1}.{2} - Denis Leary - HD TV.mkv", DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.AddDays(2).Day);
|
||||
var title = string.Format("{0:yyyy.MM.dd} - Denis Leary - HD TV.mkv", DateTime.Now.AddDays(2));
|
||||
|
||||
Parser.ParseTitle(title).Should().BeNull();
|
||||
|
||||
|
|
Loading…
Reference in a new issue