Updated catalog unit test project to Net 6.0
This commit is contained in:
parent
fb8bca5e8b
commit
90f0cff567
@ -1,4 +1,4 @@
|
|||||||
using Catalog.API.IntegrationEvents;
|
using Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.eShopOnContainers.Services.Catalog.API;
|
using Microsoft.eShopOnContainers.Services.Catalog.API;
|
||||||
@ -13,8 +13,8 @@ using System.Linq;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace UnitTest.Catalog.Application
|
namespace UnitTest.Catalog.Application;
|
||||||
{
|
|
||||||
public class CatalogControllerTest
|
public class CatalogControllerTest
|
||||||
{
|
{
|
||||||
private readonly DbContextOptions<CatalogContext> _dbOptions;
|
private readonly DbContextOptions<CatalogContext> _dbOptions;
|
||||||
@ -128,5 +128,3 @@ namespace UnitTest.Catalog.Application
|
|||||||
|
|
||||||
public CatalogSettings Get(string name) => Value;
|
public CatalogSettings Get(string name) => Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="5.0.2" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.0-preview.7.21378.4" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
|
||||||
<PackageReference Include="Microsoft.NETCore.Platforms" Version="5.0.0" />
|
<PackageReference Include="Microsoft.NETCore.Platforms" Version="6.0.0-preview.7.21377.19" />
|
||||||
<PackageReference Include="Moq" Version="4.15.2" />
|
<PackageReference Include="Moq" Version="4.15.2" />
|
||||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user