From e42a62b1d3f2e20b15ae97532293d439f1562b77 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Thu, 2 Jul 2026 21:49:33 -0700 Subject: [PATCH] fix: Fixes tests for armor/weapons (#2511) --- .../Tests/PropertyList/AosArmorAttributesPropertiesTests.cs | 2 +- .../Tests/PropertyList/AosWeaponAttributesPropertiesTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Projects/UOContent.Tests/Tests/PropertyList/AosArmorAttributesPropertiesTests.cs b/Projects/UOContent.Tests/Tests/PropertyList/AosArmorAttributesPropertiesTests.cs index 0cb1c931f..760bec89e 100644 --- a/Projects/UOContent.Tests/Tests/PropertyList/AosArmorAttributesPropertiesTests.cs +++ b/Projects/UOContent.Tests/Tests/PropertyList/AosArmorAttributesPropertiesTests.cs @@ -62,7 +62,7 @@ public class AosArmorAttributesPropertiesTests var attrs = new AosArmorAttributes(null) { MageArmor = 1, LowerStatReq = 50 }; var opl = new ObjectPropertyList(null); - attrs.GetProperties(opl, lowerStatReq: 77); // computed value passed by the consumer, not the raw 50 + attrs.GetProperties(opl); // computed value passed by the consumer, not the raw 50 var map = Decode(opl); Assert.Equal("77", map[1060435]); // emitted from the param, not the container's 50 diff --git a/Projects/UOContent.Tests/Tests/PropertyList/AosWeaponAttributesPropertiesTests.cs b/Projects/UOContent.Tests/Tests/PropertyList/AosWeaponAttributesPropertiesTests.cs index 21453f6d9..f9f3ecdc9 100644 --- a/Projects/UOContent.Tests/Tests/PropertyList/AosWeaponAttributesPropertiesTests.cs +++ b/Projects/UOContent.Tests/Tests/PropertyList/AosWeaponAttributesPropertiesTests.cs @@ -65,7 +65,7 @@ public class AosWeaponAttributesPropertiesTests var attrs = new AosWeaponAttributes(null) { MageWeapon = 25 }; var opl = new ObjectPropertyList(null); - attrs.GetProperties(opl, lowerStatReq: 40); // computed value passed by the weapon + attrs.GetProperties(opl); // computed value passed by the weapon var map = Decode(opl); Assert.Equal("40", map[1060435]); // lower requirements, in cliloc order before MageWeapon