test: add all 6 status code mapping tests to ApiClientBaseTests
- Add GetAsync_Returns404_MapsToNotFound test - Add GetAsync_Returns400_WithValidationErrors_MapsToValidationError test - Add GetAsync_Returns401_MapsToUnauthorized test - Add GetAsync_Returns403_MapsToForbidden test - Add GetAsync_Returns500_MapsToApiError test - Add FrameworkReference to Microsoft.AspNetCore.App for ValidationProblemDetails
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="coverlet.collector" Version="6.0.4" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
|
||||
|
||||
Reference in New Issue
Block a user