mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Added Tests for CentralDispatch
This commit is contained in:
@@ -17,9 +17,6 @@ namespace NzbDrone.Core.Test
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class QualityProfileTest : TestBase
|
||||
{
|
||||
///<summary>
|
||||
/// Test_s the storage.
|
||||
///</summary>
|
||||
[Test]
|
||||
public void Test_Storage()
|
||||
{
|
||||
@@ -141,7 +138,7 @@ namespace NzbDrone.Core.Test
|
||||
mocker.Resolve<QualityProvider>().SetupDefaultProfiles();
|
||||
|
||||
//Assert
|
||||
var profiles = mocker.Resolve<QualityProvider>().GetAllProfiles();
|
||||
var profiles = mocker.Resolve<QualityProvider>().All();
|
||||
|
||||
|
||||
profiles.Should().HaveCount(2);
|
||||
@@ -165,7 +162,7 @@ namespace NzbDrone.Core.Test
|
||||
mocker.Resolve<QualityProvider>().SetupDefaultProfiles();
|
||||
|
||||
//Assert
|
||||
var profiles = mocker.Resolve<QualityProvider>().GetAllProfiles();
|
||||
var profiles = mocker.Resolve<QualityProvider>().All();
|
||||
|
||||
|
||||
profiles.Should().HaveCount(1);
|
||||
|
Reference in New Issue
Block a user