Fix v14 tests

This commit is contained in:
Sven Geusens
2024-02-21 15:02:48 +01:00
parent 380d3eab6d
commit 1b95679c89
2 changed files with 4 additions and 4 deletions

View File

@@ -46,8 +46,7 @@ public class ContentPropertyMapDefinition : IMapDefinition
entityService,
textService,
loggerFactory.CreateLogger<ContentPropertyDisplayMapper>(),
propertyEditors,
dataTypeConfigurationCache);
propertyEditors);
}
[Obsolete("Please use constructor that takes an IDataTypeConfigurationCache. Will be removed in V14.")]

View File

@@ -4,6 +4,7 @@
using Moq;
using NUnit.Framework;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Cache;
using Umbraco.Cms.Core.IO;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Models.Editors;
@@ -30,12 +31,12 @@ public class DataValueReferenceFactoryCollectionTests
Mock.Of<IJsonSerializer>(),
Mock.Of<IIOHelper>(),
new DataEditorAttribute("a"),
Mock.Of<IDataTypeService>(),
Mock.Of<IMediaImportService>(),
Mock.Of<IMediaService>(),
Mock.Of<ITemporaryFileService>(),
Mock.Of<IScopeProvider>(),
Mock.Of<IBackOfficeSecurityAccessor>()));
Mock.Of<IBackOfficeSecurityAccessor>(),
Mock.Of<IDataTypeConfigurationCache>()));
private IIOHelper IOHelper { get; } = Mock.Of<IIOHelper>();