diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-23 21:35:07 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-23 21:35:07 -0400 |
commit | 8bcc80a33d42f5c6f044533bb151d75901de912f (patch) | |
tree | 84918fd9a98c327cb79dce200f2308401ddae709 /src/StardewModdingAPI.Tests/Core | |
parent | 2d36105c33ffba77eb979ef6ef0d2e7d906b09bc (diff) | |
download | SMAPI-8bcc80a33d42f5c6f044533bb151d75901de912f.tar.gz SMAPI-8bcc80a33d42f5c6f044533bb151d75901de912f.tar.bz2 SMAPI-8bcc80a33d42f5c6f044533bb151d75901de912f.zip |
rename mod compatibility type for broader use (#361)
Diffstat (limited to 'src/StardewModdingAPI.Tests/Core')
-rw-r--r-- | src/StardewModdingAPI.Tests/Core/ModResolverTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs b/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs index 7a81c68c..bc3a0c8c 100644 --- a/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs +++ b/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs @@ -141,7 +141,7 @@ namespace StardewModdingAPI.Tests.Core { // arrange Mock<IModMetadata> mock = this.GetMetadata("Mod A", new string[0], allowStatusChange: true); - this.SetupMetadataForValidation(mock, new ModCompatibility { Compatibility = ModCompatibilityType.AssumeBroken, UpperVersion = new SemanticVersion("1.0"), UpdateUrls = new[] { "http://example.org" } }); + this.SetupMetadataForValidation(mock, new ModCompatibility { Status = ModStatus.AssumeBroken, UpperVersion = new SemanticVersion("1.0"), UpdateUrls = new[] { "http://example.org" } }); // act new ModResolver().ValidateManifests(new[] { mock.Object }, apiVersion: new SemanticVersion("1.0")); |