mirror of
https://github.com/bitwarden/server.git
synced 2025-06-07 11:40:31 -05:00

Adds a SqlServerApiApplicationFactory which allows you to run api tests using SqlServer. Currently a new database is create and destroyed for each test. In the future we'd like a more optimized way to do this. The database logic is abstracted away in a ITestDatabase interface which handles the configuration, migration and teardown.
18 lines
558 B
XML
18 lines
558 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.10" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Identity\Identity.csproj" />
|
|
<ProjectReference Include="..\..\util\Migrator\Migrator.csproj" />
|
|
<ProjectReference Include="..\Common\Common.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|