Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Fix WebApplicationFactoryContentRootAttribute not being emitted due to changes in dotnet/aspnetcore#28575.
  • Loading branch information
martincostello committed May 25, 2021
1 parent 6ec3d8c commit d9e413f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/Website.Tests/Website.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Website\Website.csproj" />
<WebApplicationFactoryContentRootAttribute
Include="Website"
AssemblyName="Website"
ContentRootPath="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)../../src/Website'))"
ContentRootTest="Website.csproj"
Priority="-1" />
<AssemblyAttribute Include="Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryContentRootAttribute">
<_Parameter1>Website</_Parameter1>
<_Parameter2>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)../../src/Website'))</_Parameter2>
<_Parameter3>Website.csproj</_Parameter3>
<_Parameter4>-1</_Parameter4>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand Down

0 comments on commit d9e413f

Please sign in to comment.