Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Fix test

supportb27c61c1498e
diff --git a/src/Tests/Grand.Business.Catalog.Tests/Services/Products/ProductAttributeFormatterTests.cs b/src/Tests/Grand.Business.Catalog.Tests/Services/Products/ProductAttributeFormatterTests.cs
index ce19870b7..36a8f320b 100644
--- a/src/Tests/Grand.Business.Catalog.Tests/Services/Products/ProductAttributeFormatterTests.cs
+++ b/src/Tests/Grand.Business.Catalog.Tests/Services/Products/ProductAttributeFormatterTests.cs
@@ -77,7 +77,7 @@ namespace Grand.Business.Catalog.Tests.Services.Products
new CustomAttribute() { Key = "Message", Value = "" }
});
//Assert
- Assert.AreEqual("Name Will, Email [email protected]<br />RecName John, RecEmail [email protected]", result);
+ Assert.AreEqual("Will &lt;[email protected]&gt;<br />John &lt;[email protected]&gt;", result);
}
[TestMethod()]
public async Task FormatAttributesTest_CustomAttribute()