Adds TestData project along with test endpoints for enabling/disabling segments

This commit is contained in:
Shannon
2020-01-21 13:33:39 +11:00
parent d378495942
commit 8cc78631a0
8 changed files with 538 additions and 0 deletions

View File

@@ -126,6 +126,10 @@
<Project>{52ac0ba8-a60e-4e36-897b-e8b97a54ed1c}</Project>
<Name>Umbraco.ModelsBuilder.Embedded</Name>
</ProjectReference>
<ProjectReference Include="..\Umbraco.TestData\Umbraco.TestData.csproj">
<Project>{fb5676ed-7a69-492c-b802-e7b24144c0fc}</Project>
<Name>Umbraco.TestData</Name>
</ProjectReference>
<ProjectReference Include="..\Umbraco.Web\Umbraco.Web.csproj">
<Project>{651e1350-91b6-44b7-bd60-7207006d7003}</Project>
<Name>Umbraco.Web</Name>

View File

@@ -21,6 +21,11 @@
<Examine xdt:Transform="Remove" />
<ExamineLuceneIndexSets xdt:Transform="Remove" />
<appSettings>
<add key="Umbraco.TestData.Enabled" xdt:Transform="Remove" xdt:Locator="Match(key)"/>
<add key="Umbraco.TestData.Enabled" value="true" xdt:Transform="Insert" />
</appSettings>
<system.web>
<compilation debug="true" xdt:Transform="SetAttributes(debug)" />
</system.web>