|
|
|
@ -35,8 +35,6 @@ namespace NzbDrone.Integration.Test.ApiTests
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_get_bad_request_if_standard_format_is_empty()
|
|
|
|
|
{
|
|
|
|
|
IgnoreOnMonoVersions("5.12", "5.14");
|
|
|
|
|
|
|
|
|
|
var config = NamingConfig.GetSingle();
|
|
|
|
|
config.RenameMovies = true;
|
|
|
|
|
config.StandardMovieFormat = "";
|
|
|
|
@ -48,8 +46,6 @@ namespace NzbDrone.Integration.Test.ApiTests
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_get_bad_request_if_standard_format_doesnt_contain_title()
|
|
|
|
|
{
|
|
|
|
|
IgnoreOnMonoVersions("5.12", "5.14");
|
|
|
|
|
|
|
|
|
|
var config = NamingConfig.GetSingle();
|
|
|
|
|
config.RenameMovies = true;
|
|
|
|
|
config.StandardMovieFormat = "{quality}";
|
|
|
|
@ -61,8 +57,6 @@ namespace NzbDrone.Integration.Test.ApiTests
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_not_require_format_when_rename_episodes_is_false()
|
|
|
|
|
{
|
|
|
|
|
IgnoreOnMonoVersions("5.12", "5.14");
|
|
|
|
|
|
|
|
|
|
var config = NamingConfig.GetSingle();
|
|
|
|
|
config.RenameMovies = false;
|
|
|
|
|
config.StandardMovieFormat = "";
|
|
|
|
@ -74,8 +68,6 @@ namespace NzbDrone.Integration.Test.ApiTests
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_require_format_when_rename_episodes_is_true()
|
|
|
|
|
{
|
|
|
|
|
IgnoreOnMonoVersions("5.12", "5.14");
|
|
|
|
|
|
|
|
|
|
var config = NamingConfig.GetSingle();
|
|
|
|
|
config.RenameMovies = true;
|
|
|
|
|
config.StandardMovieFormat = "";
|
|
|
|
@ -87,8 +79,6 @@ namespace NzbDrone.Integration.Test.ApiTests
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_get_bad_request_if_movie_folder_format_does_not_contain_movie_title()
|
|
|
|
|
{
|
|
|
|
|
IgnoreOnMonoVersions("5.12", "5.14");
|
|
|
|
|
|
|
|
|
|
var config = NamingConfig.GetSingle();
|
|
|
|
|
config.RenameMovies = true;
|
|
|
|
|
config.MovieFolderFormat = "This and That";
|
|
|
|
|