diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-27 00:40:31 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-27 00:40:31 -0400 |
commit | 82306a2c50f4d3df33d8ce62ca49628baf0cc3b7 (patch) | |
tree | a266bd5180a59c0730434dff7bb4041f75b6e68e /src/SMAPI.Tests/Core | |
parent | 5f19e4f2035c36f9c6c882da3767d6f29409db1c (diff) | |
download | SMAPI-82306a2c50f4d3df33d8ce62ca49628baf0cc3b7.tar.gz SMAPI-82306a2c50f4d3df33d8ce62ca49628baf0cc3b7.tar.bz2 SMAPI-82306a2c50f4d3df33d8ce62ca49628baf0cc3b7.zip |
encapsulate mod DB a bit better for use outside SMAPI (#532)
Diffstat (limited to 'src/SMAPI.Tests/Core')
-rw-r--r-- | src/SMAPI.Tests/Core/ModResolverTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI.Tests/Core/ModResolverTests.cs b/src/SMAPI.Tests/Core/ModResolverTests.cs index e63057b3..9e91b993 100644 --- a/src/SMAPI.Tests/Core/ModResolverTests.cs +++ b/src/SMAPI.Tests/Core/ModResolverTests.cs @@ -142,7 +142,7 @@ namespace StardewModdingAPI.Tests.Core { // arrange Mock<IModMetadata> mock = this.GetMetadata("Mod A", new string[0], allowStatusChange: true); - this.SetupMetadataForValidation(mock, new ParsedModDataRecord + this.SetupMetadataForValidation(mock, new ModDataRecordVersionedFields { Status = ModStatus.AssumeBroken, AlternativeUrl = "http://example.org" @@ -526,7 +526,7 @@ namespace StardewModdingAPI.Tests.Core /// <summary>Set up a mock mod metadata for <see cref="ModResolver.ValidateManifests"/>.</summary> /// <param name="mod">The mock mod metadata.</param> /// <param name="modRecord">The extra metadata about the mod from SMAPI's internal data (if any).</param> - private void SetupMetadataForValidation(Mock<IModMetadata> mod, ParsedModDataRecord modRecord = null) + private void SetupMetadataForValidation(Mock<IModMetadata> mod, ModDataRecordVersionedFields modRecord = null) { mod.Setup(p => p.Status).Returns(ModMetadataStatus.Found); mod.Setup(p => p.DataRecord).Returns(() => null); |