add app config to tests to get around strange Newtonsoft error

This commit is contained in:
Timothy Baldridge 2019-11-04 16:49:10 -07:00
parent 6ab49e380c
commit 9fe7b2fe7c
2 changed files with 5 additions and 2 deletions

View File

@ -32,7 +32,7 @@ namespace Wabbajack.Test.ListValidation
[DataTestMethod]
[DynamicData(nameof(GetModLists), DynamicDataSourceType.Method)]
public void ValidateModLists(ModlistMetadata list)
public void ValidateModLists(string name, ModlistMetadata list)
{
Log($"Testing {list.Links.MachineURL} - {list.Title}");
@ -76,7 +76,7 @@ namespace Wabbajack.Test.ListValidation
public static IEnumerable<object[]> GetModLists()
{
return ModlistMetadata.LoadFromGithub().Select(l => new object[] {l});
return ModlistMetadata.LoadFromGithub().Select(l => new object[] {l.Title, l});
}
}
}

View File

@ -85,6 +85,9 @@
<Version>12.0.2</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>