From 6b53367e7e5166662787c399168d0067fe6da62d Mon Sep 17 00:00:00 2001 From: Savorboard Date: Wed, 26 May 2021 17:24:47 +0800 Subject: [PATCH] Fix build error --- test/DotNetCore.CAP.Test/CAP.BuilderTest.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs b/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs index f21a4f0..8bcbb3c 100644 --- a/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs +++ b/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs @@ -39,19 +39,6 @@ namespace DotNetCore.CAP.Test Assert.NotNull(markService); } - [Fact] - public void CanOverridePublishService() - { - var services = new ServiceCollection(); - services.AddCap(x => { }).AddProducerService(); - - var thingy = services.BuildServiceProvider() - .GetRequiredService() as MyProducerService; - - Assert.NotNull(thingy); - } - - [Fact] public void CanResolveCapOptions() {