PublishedContent - align with v7, refactor IPropertyValueConverter
This commit is contained in:
@@ -77,12 +77,12 @@ namespace Umbraco.Tests.CodeFirst
|
||||
var propertyTypes = new[]
|
||||
{
|
||||
// AutoPublishedContentType will auto-generate other properties
|
||||
new PublishedPropertyType("siteDescription", Guid.Empty, 0, 0),
|
||||
new PublishedPropertyType("siteName", Guid.Empty, 0, 0),
|
||||
new PublishedPropertyType("articleContent", Guid.Empty, 0, 0),
|
||||
new PublishedPropertyType("articleAuthor", Guid.Empty, 0, 0),
|
||||
new PublishedPropertyType("articleDate", Guid.Empty, 0, 0),
|
||||
new PublishedPropertyType("pageTitle", Guid.Empty, 0, 0),
|
||||
new PublishedPropertyType("siteDescription", 0, Guid.Empty),
|
||||
new PublishedPropertyType("siteName", 0, Guid.Empty),
|
||||
new PublishedPropertyType("articleContent", 0, Guid.Empty),
|
||||
new PublishedPropertyType("articleAuthor", 0, Guid.Empty),
|
||||
new PublishedPropertyType("articleDate", 0, Guid.Empty),
|
||||
new PublishedPropertyType("pageTitle", 0, Guid.Empty),
|
||||
};
|
||||
var type = new AutoPublishedContentType(0, "anything", propertyTypes);
|
||||
PublishedContentType.GetPublishedContentTypeCallback = (alias) => type;
|
||||
|
||||
Reference in New Issue
Block a user