mirror of
https://github.com/bitwarden/server.git
synced 2024-12-04 14:13:28 +01:00
d08e9359af
Controller properties have all kinds of validations in the background. In general, we don't user properties on our Controllers, so the easiest way to allow for Autofixture-based testing of our Controllers is to just omit setting all properties on them.
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="3.0.3">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
|
|
<PackageReference Include="NSubstitute" Version="4.2.2" />
|
|
<PackageReference Include="xunit" Version="2.4.1" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="AutoFixture.Xunit2" Version="4.14.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Api\Api.csproj" />
|
|
<ProjectReference Include="..\..\src\Core\Core.csproj" />
|
|
<ProjectReference Include="..\common\Common.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|