Fixed: Dowload client category validation messages not showing

This commit is contained in:
Qstick
2018-07-17 21:16:39 -04:00
parent 274df2f1ed
commit a9d66133a6
10 changed files with 23 additions and 23 deletions
@@ -303,7 +303,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.DownloadStationTests
.Returns(_serialNumber);
}
protected void GivenTvCategory()
protected void GivenMusicCategory()
{
_settings.MusicCategory = _category;
}
@@ -389,7 +389,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.DownloadStationTests
public void Download_with_category_should_force_directory()
{
GivenSerialNumber();
GivenTvCategory();
GivenMusicCategory();
GivenSuccessfulDownload();
var remoteEpisode = CreateRemoteAlbum();
@@ -196,7 +196,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.DownloadStationTests
.Returns(_serialNumber);
}
protected void GivenTvCategory()
protected void GivenMusicCategory()
{
_settings.MusicCategory = _category;
}
@@ -268,7 +268,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.DownloadStationTests
public void Download_with_category_should_force_directory()
{
GivenSerialNumber();
GivenTvCategory();
GivenMusicCategory();
GivenSuccessfulDownload();
var remoteEpisode = CreateRemoteAlbum();
@@ -84,7 +84,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests
[Test]
public void Download_with_category_should_force_directory()
{
GivenTvCategory();
GivenMusicCategory();
GivenSuccessfulDownload();
var remoteEpisode = CreateRemoteAlbum();
@@ -100,7 +100,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests
[Test]
public void Download_with_category_should_not_have_double_slashes()
{
GivenTvCategory();
GivenMusicCategory();
GivenSuccessfulDownload();
_transmissionConfigItems["download-dir"] += "/";
@@ -207,7 +207,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests
[Test]
public void should_exclude_items_not_in_category()
{
GivenTvCategory();
GivenMusicCategory();
_downloading.DownloadDir = @"C:/Downloads/Finished/transmission/Lidarr";
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
@@ -110,7 +110,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests
}
protected void GivenTvCategory()
protected void GivenMusicCategory()
{
_settings.MusicCategory = "Lidarr";
}
@@ -194,4 +194,4 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests
});
}
}
}
}
@@ -93,7 +93,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.VuzeTests
[Test]
public void Download_with_category_should_force_directory()
{
GivenTvCategory();
GivenMusicCategory();
GivenSuccessfulDownload();
var remoteEpisode = CreateRemoteAlbum();
@@ -109,7 +109,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.VuzeTests
[Test]
public void Download_with_category_should_not_have_double_slashes()
{
GivenTvCategory();
GivenMusicCategory();
GivenSuccessfulDownload();
_transmissionConfigItems["download-dir"] += "/";
@@ -216,7 +216,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.VuzeTests
[Test]
public void should_exclude_items_not_in_category()
{
GivenTvCategory();
GivenMusicCategory();
_downloading.DownloadDir = @"C:/Downloads/Finished/transmission/Lidarr";