1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed naming config integration test

This commit is contained in:
Mark McDowall 2013-11-09 23:29:19 -08:00
parent 795f78296c
commit f2aec932a4

View File

@ -26,8 +26,13 @@ public void should_be_able_to_update()
{ {
var config = NamingConfig.GetSingle(); var config = NamingConfig.GetSingle();
config.RenameEpisodes = false; config.RenameEpisodes = false;
config.StandardEpisodeFormat = "{Series Title} - {season}x{0episode} - {Episode Title}";
config.DailyEpisodeFormat = "{Series Title} - {Air-Date} - {Episode Title}";
NamingConfig.Put(config).RenameEpisodes.Should().BeFalse(); var result = NamingConfig.Put(config);
result.RenameEpisodes.Should().BeFalse();
result.StandardEpisodeFormat.Should().Be(config.StandardEpisodeFormat);
result.DailyEpisodeFormat.Should().Be(config.DailyEpisodeFormat);
} }
} }
} }