diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-23 21:48:53 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-23 21:48:53 -0400 |
commit | a89dbce8549abee867d0af65ac62155bb485a911 (patch) | |
tree | 1a67281b84d754f4b76b0ff2e45edeafeac29b29 /src/StardewModdingAPI.Tests/Core | |
parent | 8bcc80a33d42f5c6f044533bb151d75901de912f (diff) | |
download | SMAPI-a89dbce8549abee867d0af65ac62155bb485a911.tar.gz SMAPI-a89dbce8549abee867d0af65ac62155bb485a911.tar.bz2 SMAPI-a89dbce8549abee867d0af65ac62155bb485a911.zip |
unify disabled-mod and compatibility lists (#361)
Diffstat (limited to 'src/StardewModdingAPI.Tests/Core')
-rw-r--r-- | src/StardewModdingAPI.Tests/Core/ModResolverTests.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs b/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs index bc3a0c8c..198ce190 100644 --- a/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs +++ b/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs @@ -30,7 +30,7 @@ namespace StardewModdingAPI.Tests.Core Directory.CreateDirectory(rootFolder); // act - IModMetadata[] mods = new ModResolver().ReadManifests(rootFolder, new JsonHelper(), new ModCompatibility[0], new DisabledMod[0]).ToArray(); + IModMetadata[] mods = new ModResolver().ReadManifests(rootFolder, new JsonHelper(), new ModCompatibility[0]).ToArray(); // assert Assert.AreEqual(0, mods.Length, 0, $"Expected to find zero manifests, found {mods.Length} instead."); @@ -45,7 +45,7 @@ namespace StardewModdingAPI.Tests.Core Directory.CreateDirectory(modFolder); // act - IModMetadata[] mods = new ModResolver().ReadManifests(rootFolder, new JsonHelper(), new ModCompatibility[0], new DisabledMod[0]).ToArray(); + IModMetadata[] mods = new ModResolver().ReadManifests(rootFolder, new JsonHelper(), new ModCompatibility[0]).ToArray(); IModMetadata mod = mods.FirstOrDefault(); // assert @@ -84,7 +84,7 @@ namespace StardewModdingAPI.Tests.Core File.WriteAllText(filename, JsonConvert.SerializeObject(original)); // act - IModMetadata[] mods = new ModResolver().ReadManifests(rootFolder, new JsonHelper(), new ModCompatibility[0], new DisabledMod[0]).ToArray(); + IModMetadata[] mods = new ModResolver().ReadManifests(rootFolder, new JsonHelper(), new ModCompatibility[0]).ToArray(); IModMetadata mod = mods.FirstOrDefault(); // assert |