Yavsc.Blogs.Tests will need a fixture too. Lifting the cross-cutting plumbing (Kestrel + self-signed cert + address discovery + lazy init) into a new Yavsc.Tests.Shared project lets the next fixture inherit from it without copying 200+ lines of setup boilerplate, and keeps the Org.Tests fixture focused on its IdentityServer + SMTP seed. * New project src/Yavsc.Tests.Shared with WebHostFixture (abstract) and TestAuthPolicyProvider (test auth bypass via X-Test-Role). * WebServerFixture in Org.Tests now inherits from WebHostFixture; BuildApp + ConfigurePipelineAsync hold only Org-specific work. * Two shared package versions promoted to the root Directory.Packages.props. * Tests still 30/30 green.
13 lines
693 B
XML
13 lines
693 B
XML
<Project>
|
|
<!-- Pull in shared package versions from the repository root. -->
|
|
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Packages.props', '$(MSBuildThisFileDirectory)../'))" />
|
|
|
|
<!-- Yavsc.Org.Tests-specific versions -->
|
|
<ItemGroup>
|
|
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="10.0.9" />
|
|
<PackageVersion Include="Microsoft.Extensions.Options" Version="10.0.9" />
|
|
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="10.0.9" />
|
|
<PackageVersion Include="xunit.v3.common" Version="3.2.2" />
|
|
<PackageVersion Include="xunit.v3.extensibility.core" Version="3.2.2" />
|
|
</ItemGroup>
|
|
</Project>
|