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 Jun 7, 2021
1 parent 706e712 commit cf2dabb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/LondonTravel.Site.Tests/LondonTravel.Site.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\LondonTravel.Site\LondonTravel.Site.csproj" />
<WebApplicationFactoryContentRootAttribute
Include="LondonTravel.Site"
AssemblyName="LondonTravel.Site"
ContentRootPath="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)../../src/LondonTravel.Site'))"
ContentRootTest="LondonTravel.Site.csproj"
Priority="-1" />
<AssemblyAttribute Include="Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryContentRootAttribute">
<_Parameter1>LondonTravel.Site</_Parameter1>
<_Parameter2>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)../../src/LondonTravel.Site'))</_Parameter2>
<_Parameter3>LondonTravel.Site.csproj</_Parameter3>
<_Parameter4>-1</_Parameter4>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand Down

0 comments on commit cf2dabb

Please sign in to comment.