1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-24 00:37:15 +00:00

Fixed broken unit test for parsing future daily shows.

This commit is contained in:
Mark McDowall 2011-11-30 00:29:31 -08:00
parent fbc0a561ca
commit d82edba26c

View file

@ -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();