@ -37,6 +37,8 @@ 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,6 +50,8 @@ 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}" ;
@ -59,6 +63,8 @@ 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 = "" ;
@ -70,6 +76,8 @@ 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 = "" ;
@ -81,6 +89,8 @@ 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" ;