Merge pull request #7120 from umbraco/netcore/feature/AB3649-move-manifest-stuff

Netcore: Move manifest code
This commit is contained in:
Shannon Deminick
2019-11-14 12:10:25 +11:00
committed by GitHub
129 changed files with 935 additions and 705 deletions

View File

@@ -7,6 +7,7 @@ using System.Web.UI.WebControls;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
using Umbraco.Tests.TestHelpers;
namespace Umbraco.Tests.CoreThings
{
@@ -300,10 +301,7 @@ namespace Umbraco.Tests.CoreThings
[Test]
public void Value_Editor_Can_Convert_Decimal_To_Decimal_Clr_Type()
{
var valueEditor = new DataValueEditor
{
ValueType = ValueTypes.Decimal
};
var valueEditor = TestHelper.CreateDataValueEditor(ValueTypes.Decimal);
var result = valueEditor.TryConvertValueToCrlType(12.34d);
Assert.IsTrue(result.Success);