summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Tests
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-07-23 13:09:30 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-07-23 13:09:30 -0400
commit5cf961ab64d0b894f8934288ffac92ea1fb8da95 (patch)
tree784cde18935c8d2d64135084c4afce8b799a6820 /src/StardewModdingAPI.Tests
parente04fc841909642f2f26f8219e7d46ca7961f9f96 (diff)
downloadSMAPI-5cf961ab64d0b894f8934288ffac92ea1fb8da95.tar.gz
SMAPI-5cf961ab64d0b894f8934288ffac92ea1fb8da95.tar.bz2
SMAPI-5cf961ab64d0b894f8934288ffac92ea1fb8da95.zip
fix unit test
Diffstat (limited to 'src/StardewModdingAPI.Tests')
-rw-r--r--src/StardewModdingAPI.Tests/Core/ModResolverTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs b/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs
index eda3a425..fc84ca29 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 });
+ this.SetupMetadataForValidation(mock, new ModCompatibility { Compatibility = ModCompatibilityType.AssumeBroken, UpperVersion = new SemanticVersion("1.0"), UpdateUrls = new[] { "http://example.org" }});
// act
new ModResolver().ValidateManifests(new[] { mock.Object }, apiVersion: new SemanticVersion("1.0"));