mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Added Tests for CentralDispatch
This commit is contained in:
parent
c339ea6ba2
commit
6393d0a3f9
15 changed files with 133 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue