@ -36,6 +36,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 . RenameTracks = true ;
config . StandardTrackFormat = "" ;
@ -48,6 +50,8 @@ namespace NzbDrone.Integration.Test.ApiTests
[Test]
public void should_get_bad_request_if_standard_format_doesnt_contain_track_number_and_title ( )
{
IgnoreOnMonoVersions ( "5.12" , "5.14" ) ;
var config = NamingConfig . GetSingle ( ) ;
config . RenameTracks = true ;
config . StandardTrackFormat = "{track:00}" ;
@ -59,6 +63,8 @@ namespace NzbDrone.Integration.Test.ApiTests
[Test]
public void should_not_require_format_when_rename_tracks_is_false ( )
{
IgnoreOnMonoVersions ( "5.12" , "5.14" ) ;
var config = NamingConfig . GetSingle ( ) ;
config . RenameTracks = false ;
config . StandardTrackFormat = "" ;
@ -70,6 +76,8 @@ namespace NzbDrone.Integration.Test.ApiTests
[Test]
public void should_require_format_when_rename_tracks_is_true ( )
{
IgnoreOnMonoVersions ( "5.12" , "5.14" ) ;
var config = NamingConfig . GetSingle ( ) ;
config . RenameTracks = true ;
config . StandardTrackFormat = "" ;
@ -81,6 +89,8 @@ namespace NzbDrone.Integration.Test.ApiTests
[Test]
public void should_get_bad_request_if_artist_folder_format_does_not_contain_artist_name ( )
{
IgnoreOnMonoVersions ( "5.12" , "5.14" ) ;
var config = NamingConfig . GetSingle ( ) ;
config . RenameTracks = true ;
config . ArtistFolderFormat = "This and That" ;