feat: wip

This commit is contained in:
Jean Gatto
2023-09-16 11:26:22 -03:00
parent 17412f57ee
commit 70774bba58
11 changed files with 64 additions and 70 deletions
@@ -504,7 +504,7 @@ public class CustomersControllerTests : IAsyncLifetime
configureServices?.Invoke(services);
var serviceProvider = services.BuildServiceProvider(true);
using var serviceProvider = services.BuildServiceProvider(true);
using var serviceScope = serviceProvider.CreateScope();
var writeDbContext = serviceScope.ServiceProvider.GetRequiredService<WriteDbContext>();
@@ -6,7 +6,7 @@
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup Label="Package References">
<ItemGroup>
<PackageReference Include="Ardalis.Result" />
<PackageReference Include="AutoMapper" />
<PackageReference Include="Bogus" />
@@ -38,7 +38,7 @@
</PackageReference>
</ItemGroup>
<ItemGroup Label="Project References">
<ItemGroup>
<ProjectReference Include="..\..\src\Shop.PublicApi\Shop.PublicApi.csproj" />
</ItemGroup>
+4 -4
View File
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Build">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<SonarQubeTestProject>True</SonarQubeTestProject>
</PropertyGroup>
<ItemGroup Label="Package References">
<ItemGroup>
<PackageReference Include="AutoMapper" />
<PackageReference Include="Bogus" />
<PackageReference Include="coverlet.collector">
@@ -36,7 +36,7 @@
</PackageReference>
</ItemGroup>
<ItemGroup Label="Project References">
<ItemGroup>
<ProjectReference Include="..\..\src\Shop.Infrastructure\Shop.Infrastructure.csproj" />
<ProjectReference Include="..\..\src\Shop.Domain\Shop.Domain.csproj" />
<ProjectReference Include="..\..\src\Shop.Core\Shop.Core.csproj" />
@@ -45,7 +45,7 @@
<ProjectReference Include="..\..\src\Shop.Query\Shop.Query.csproj" />
</ItemGroup>
<ItemGroup Label="xUnit Configuration File">
<ItemGroup>
<None Update="xunit.runner.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>