Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Umbraco.Tests.Published
|
||||
var proflog = new ProfilingLogger(logger, profiler);
|
||||
|
||||
PropertyEditorCollection editors = null;
|
||||
var editor = new NestedContentPropertyEditor(logger, new Lazy<PropertyEditorCollection>(() => editors), Mock.Of<IDataTypeService>(), Mock.Of<IContentTypeService>());
|
||||
var editor = new NestedContentPropertyEditor(logger, new Lazy<PropertyEditorCollection>(() => editors), Mock.Of<IDataTypeService>(), Mock.Of<IContentTypeService>(), Mock.Of<ILocalizedTextService>());
|
||||
editors = new PropertyEditorCollection(new DataEditorCollection(new DataEditor[] { editor }));
|
||||
|
||||
var dataType1 = new DataType(editor)
|
||||
|
||||
@@ -47,7 +47,6 @@ namespace Umbraco.Web.Editors.Binders
|
||||
internal static void BindModel(ContentItemSave model, IContent persistedContent)
|
||||
{
|
||||
if (model is null) throw new ArgumentNullException(nameof(model));
|
||||
if (persistedContent is null) throw new ArgumentNullException(nameof(persistedContent));
|
||||
|
||||
model.PersistedContent = persistedContent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user