From c1ed5f7175d91b925068e1dbb4f161feeb006d03 Mon Sep 17 00:00:00 2001 From: Savorboard Date: Sat, 23 Sep 2017 21:54:59 +0800 Subject: [PATCH] upgrade dependent version. --- .../DotNetCore.CAP.MySql.Test.csproj | 2 +- .../DotNetCore.CAP.PostgreSql.Test.csproj | 6 +++--- test/DotNetCore.CAP.Test/CAP.BuilderTest.cs | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj b/test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj index be4dae5..deafe18 100644 --- a/test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj +++ b/test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj @@ -16,7 +16,7 @@ - + diff --git a/test/DotNetCore.CAP.PostgreSql.Test/DotNetCore.CAP.PostgreSql.Test.csproj b/test/DotNetCore.CAP.PostgreSql.Test/DotNetCore.CAP.PostgreSql.Test.csproj index 0f116c8..25cef47 100644 --- a/test/DotNetCore.CAP.PostgreSql.Test/DotNetCore.CAP.PostgreSql.Test.csproj +++ b/test/DotNetCore.CAP.PostgreSql.Test/DotNetCore.CAP.PostgreSql.Test.csproj @@ -8,10 +8,10 @@ - + - - + + diff --git a/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs b/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs index a151d72..cc0d990 100644 --- a/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs +++ b/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs @@ -8,17 +8,18 @@ namespace DotNetCore.CAP.Test { public class CapBuilderTest { + [Fact] public void CanCreateInstanceAndGetService() { var services = new ServiceCollection(); - + services.AddSingleton(); var builder = new CapBuilder(services); Assert.NotNull(builder); var count = builder.Services.Count; - Assert.Equal(1, count); + Assert.Equal(1, count); var provider = services.BuildServiceProvider(); var capPublisher = provider.GetService();