mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
add app config to tests to get around strange Newtonsoft error
This commit is contained in:
parent
6ab49e380c
commit
9fe7b2fe7c
@ -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});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user