mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
FreeSpaceSpec is blowing everything up... undoing for now.
This commit is contained in:
@@ -54,6 +54,7 @@ namespace NzbDrone.Core.Test.MediaFileTests.EpisodeImportTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
[Ignore]
|
||||||
public void should_reject_when_there_isnt_enough_disk_space()
|
public void should_reject_when_there_isnt_enough_disk_space()
|
||||||
{
|
{
|
||||||
GivenFileSize(100.Megabytes());
|
GivenFileSize(100.Megabytes());
|
||||||
@@ -64,6 +65,7 @@ namespace NzbDrone.Core.Test.MediaFileTests.EpisodeImportTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
[Ignore]
|
||||||
public void should_reject_when_there_isnt_enough_space_for_file_plus_100mb_padding()
|
public void should_reject_when_there_isnt_enough_space_for_file_plus_100mb_padding()
|
||||||
{
|
{
|
||||||
GivenFileSize(100.Megabytes());
|
GivenFileSize(100.Megabytes());
|
||||||
@@ -74,6 +76,7 @@ namespace NzbDrone.Core.Test.MediaFileTests.EpisodeImportTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
[Ignore]
|
||||||
public void should_accept_when_there_is_enough_disk_space()
|
public void should_accept_when_there_is_enough_disk_space()
|
||||||
{
|
{
|
||||||
GivenFileSize(100.Megabytes());
|
GivenFileSize(100.Megabytes());
|
||||||
|
@@ -24,6 +24,9 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications
|
|||||||
|
|
||||||
public bool IsSatisfiedBy(LocalEpisode localEpisode)
|
public bool IsSatisfiedBy(LocalEpisode localEpisode)
|
||||||
{
|
{
|
||||||
|
//TODO: fix issues with this, seems to be completely broken...
|
||||||
|
return true;
|
||||||
|
|
||||||
var newFileName = Path.GetFileNameWithoutExtension(localEpisode.Path);
|
var newFileName = Path.GetFileNameWithoutExtension(localEpisode.Path);
|
||||||
var destinationFilename = _buildFileNames.BuildFilePath(localEpisode.Series, localEpisode.SeasonNumber, newFileName, Path.GetExtension(localEpisode.Path));
|
var destinationFilename = _buildFileNames.BuildFilePath(localEpisode.Series, localEpisode.SeasonNumber, newFileName, Path.GetExtension(localEpisode.Path));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user