mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 01:57:21 +00:00
Turning off tagging folder for now, to stop messing people's series folders
This commit is contained in:
parent
e358ad6d87
commit
8f4f863631
2 changed files with 10 additions and 5 deletions
|
@ -45,7 +45,7 @@ public void should_continue_processing_if_folder_is_tagged_and_not_fresh()
|
|||
|
||||
//Assert
|
||||
Mocker.VerifyAllMocks();
|
||||
ExceptionVerification.ExpectedWarns(1);
|
||||
ExceptionVerification.IgnoreWarns();
|
||||
}
|
||||
|
||||
|
||||
|
@ -61,10 +61,11 @@ public void should_search_for_series_using_title_without_status()
|
|||
|
||||
//Assert
|
||||
Mocker.VerifyAllMocks();
|
||||
ExceptionVerification.ExpectedWarns(1);
|
||||
ExceptionVerification.IgnoreWarns();
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Ignore("Disabled tagging")]
|
||||
public void when_series_isnt_found_folder_should_be_tagged_as_unknown_series()
|
||||
{
|
||||
//Setup
|
||||
|
@ -85,6 +86,7 @@ public void when_series_isnt_found_folder_should_be_tagged_as_unknown_series()
|
|||
}
|
||||
|
||||
[Test]
|
||||
[Ignore("Disabled tagging")]
|
||||
public void when_no_files_are_imported_folder_should_be_tagged_with_parse_error()
|
||||
{
|
||||
//Setup
|
||||
|
@ -113,6 +115,7 @@ public void when_no_files_are_imported_folder_should_be_tagged_with_parse_error(
|
|||
|
||||
|
||||
[Test]
|
||||
[Ignore("Disabled tagging")]
|
||||
public void when_no_file_are_imported_and_folder_size_isnt_small_enought_folder_should_be_tagged_unknown()
|
||||
{
|
||||
//Setup
|
||||
|
@ -166,7 +169,7 @@ public void folder_shouldnt_be_tagged_with_same_tag_again(string path)
|
|||
}
|
||||
|
||||
[Test]
|
||||
public void folder_should_be_tagged_if_existing_tag_is_diffrent()
|
||||
public void folder_should_not_be_tagged_if_existing_tag_is_diffrent()
|
||||
{
|
||||
//Setup
|
||||
|
||||
|
@ -183,8 +186,8 @@ public void folder_should_be_tagged_if_existing_tag_is_diffrent()
|
|||
|
||||
//Assert
|
||||
Mocker.VerifyAllMocks();
|
||||
Mocker.GetMock<DiskProvider>().Verify(c => c.MoveDirectory(droppedFolder.FullName, taggedFolder), Times.Once());
|
||||
ExceptionVerification.ExpectedWarns(1);
|
||||
Mocker.GetMock<DiskProvider>().Verify(c => c.MoveDirectory(droppedFolder.FullName, taggedFolder), Times.Never());
|
||||
ExceptionVerification.IgnoreWarns();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
@ -89,6 +89,8 @@ public virtual void ProcessDownload(DirectoryInfo subfolderInfo)
|
|||
|
||||
private void TagFolder(DirectoryInfo directory, PostDownloadStatusType status)
|
||||
{
|
||||
//Turning off tagging folder for now, to stop messing people's series folders.
|
||||
return;
|
||||
var target = GetTaggedFolderName(directory, status);
|
||||
|
||||
if (!DiskProvider.PathEquals(target, directory.FullName))
|
||||
|
|
Loading…
Reference in a new issue