AB3649 - Fixed tests

This commit is contained in:
Bjarke Berg
2019-11-12 13:40:07 +01:00
parent c016a48b36
commit 9b4c26bf7e
40 changed files with 191 additions and 140 deletions

View File

@@ -32,7 +32,7 @@ namespace Umbraco.Tests.Models
Composition.Register(_ => Mock.Of<IContentSection>());
// all this is required so we can validate properties...
var editor = new TextboxPropertyEditor(Mock.Of<ILogger>()) { Alias = "test" };
var editor = new TextboxPropertyEditor(Mock.Of<ILogger>(), Mock.Of<IDataTypeService>(), Mock.Of<ILocalizationService>()) { Alias = "test" };
Composition.Register(_ => new DataEditorCollection(new[] { editor }));
Composition.Register<PropertyEditorCollection>();
var dataType = Mock.Of<IDataType>();