mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
fixed broken test
This commit is contained in:
parent
dde91569ac
commit
b0ae87840e
@ -2,6 +2,7 @@
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using NzbDrone.Core.Download;
|
||||
using NzbDrone.Core.Indexers;
|
||||
using NzbDrone.Core.Jobs;
|
||||
@ -39,8 +40,10 @@ public void container_should_inject_itself()
|
||||
public void should_resolve_command_executor_by_name()
|
||||
{
|
||||
var genericExecutor = typeof(IExecute<>).MakeGenericType(typeof(RssSyncCommand));
|
||||
var container = MainAppContainerBuilder.BuildContainer();
|
||||
DbFactory.RegisterDatabase(container);
|
||||
|
||||
var executor = MainAppContainerBuilder.BuildContainer().Resolve(genericExecutor);
|
||||
var executor = container.Resolve(genericExecutor);
|
||||
|
||||
executor.Should().NotBeNull();
|
||||
executor.Should().BeAssignableTo<IExecute<RssSyncCommand>>();
|
||||
|
@ -11,9 +11,6 @@ namespace NzbDrone.Core.Test.Qualities
|
||||
|
||||
public class QualitySizeRepositoryFixture : DbTest<QualitySizeRepository, QualitySize>
|
||||
{
|
||||
|
||||
|
||||
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user