Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3

This commit is contained in:
Shannon
2020-07-23 16:55:27 +10:00
2 changed files with 1 additions and 2 deletions

View File

@@ -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)

View File

@@ -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;