public void Get_All_User_Property_Names() { var contentService = new UmbracoContentService(ApplicationContext); var db = DatabaseContext.Database; var result = contentService.GetAllUserPropertyNames(); Assert.IsTrue(result.Select(x => x).ContainsAll(new[] { "contents", Constants.Conventions.Media.Bytes, Constants.Conventions.Media.Extension, Constants.Conventions.Media.File, Constants.Conventions.Media.Height, Constants.Conventions.Media.Width })); }
public UmbracoDataService() { ContentService = new UmbracoContentService(); MediaService = new UmbracoMediaService(); LogService = new UmbracoLogService(); }
public UmbracoDataService() { ContentService = new UmbracoContentService(); MediaService = new UmbracoMediaService(); LogService = new UmbracoLogService(); }