Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
forsthug committed Jul 15, 2024
1 parent 4f45be0 commit 5f7ff08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void QueueBootstrapper_AddQueueServices_ShouldReturnServiceCollection()
var sut = new QueueBootstrapper(queueId, config);
sut.ConfigureServices(serviceCollection);

serviceCollection.Should().HaveCount(35);
serviceCollection.Should().HaveCount(37);

var cryptoHelper = new ServiceDescriptor(typeof(ICryptoHelper), typeof(CryptoHelper), ServiceLifetime.Scoped);
var signProcessorDecorator = new ServiceDescriptor(typeof(ISignProcessor), x => new LocalQueueSynchronizationDecorator(x.GetRequiredService<ISignProcessor>(), x.GetRequiredService<ILogger<LocalQueueSynchronizationDecorator>>()), ServiceLifetime.Scoped);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void QueueServicesTest()
queueBootstrapper.ConfigureServices(serviceCollection);


serviceCollection.Count.Should().Be(36);
serviceCollection.Count.Should().Be(37);

CheckServiceType(serviceCollection, typeof(ICryptoHelper)).Should().BeTrue();
CheckServiceType(serviceCollection, typeof(ISignProcessor)).Should().BeTrue();
Expand Down

0 comments on commit 5f7ff08

Please sign in to comment.