Procházet zdrojové kódy

upgrade dependent version.

master
Savorboard před 7 roky
rodič
revize
c1ed5f7175
3 změnil soubory, kde provedl 7 přidání a 6 odebrání
  1. +1
    -1
      test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj
  2. +3
    -3
      test/DotNetCore.CAP.PostgreSql.Test/DotNetCore.CAP.PostgreSql.Test.csproj
  3. +3
    -2
      test/DotNetCore.CAP.Test/CAP.BuilderTest.cs

+ 1
- 1
test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj Zobrazit soubor

@@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="Dapper" Version="1.50.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0-preview-20170810-02" />
<PackageReference Include="MySqlConnector" Version="0.25.1" />
<PackageReference Include="MySqlConnector" Version="0.26.5" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0-beta3-build3705" />
<PackageReference Include="xunit" Version="2.3.0-beta3-build3705" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.0.0" />


+ 3
- 3
test/DotNetCore.CAP.PostgreSql.Test/DotNetCore.CAP.PostgreSql.Test.csproj Zobrazit soubor

@@ -8,10 +8,10 @@

<ItemGroup>
<PackageReference Include="Dapper" Version="1.50.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0-preview-20170810-02" />
<PackageReference Include="Npgsql" Version="3.2.5" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
<PackageReference Include="xunit" Version="2.3.0-beta3-build3705" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0-beta3-build3705" />
</ItemGroup>

<ItemGroup>


+ 3
- 2
test/DotNetCore.CAP.Test/CAP.BuilderTest.cs Zobrazit soubor

@@ -8,17 +8,18 @@ namespace DotNetCore.CAP.Test
{
public class CapBuilderTest
{

[Fact]
public void CanCreateInstanceAndGetService()
{
var services = new ServiceCollection();
services.AddSingleton<ICapPublisher, MyProducerService>();
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<ICapPublisher>();


Načítá se…
Zrušit
Uložit