Browse Source

Fix build error

master
Savorboard 3 years ago
parent
commit
6b53367e7e
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      test/DotNetCore.CAP.Test/CAP.BuilderTest.cs

+ 0
- 13
test/DotNetCore.CAP.Test/CAP.BuilderTest.cs View File

@@ -39,19 +39,6 @@ namespace DotNetCore.CAP.Test
Assert.NotNull(markService);
}

[Fact]
public void CanOverridePublishService()
{
var services = new ServiceCollection();
services.AddCap(x => { }).AddProducerService<MyProducerService>();

var thingy = services.BuildServiceProvider()
.GetRequiredService<ICapPublisher>() as MyProducerService;

Assert.NotNull(thingy);
}

[Fact]
public void CanResolveCapOptions()
{


Loading…
Cancel
Save