fixes tests

This commit is contained in:
Shannon
2017-08-10 17:59:17 +10:00
parent 9be275cf40
commit 97f2b40f4b

View File

@@ -11,6 +11,7 @@ namespace Umbraco.Web.Models.Mapping
public override void ConfigureMappings(IConfiguration config, ApplicationContext applicationContext)
{
config.CreateMap<Core.Models.Section, Section>()
.ForMember(section => section.RoutePath, x => x.Ignore())
.ForMember(
dto => dto.Name,
expression => expression.MapFrom(section => ui.Text("sections", section.Alias)))