Working with unit tests and making a few corrections around ContentTypes.
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
using Umbraco.Tests.CodeFirst.Attributes;
|
||||
using umbraco.editorControls.textfield;
|
||||
using umbraco.editorControls.textfieldmultiple;
|
||||
|
||||
namespace Umbraco.Tests.CodeFirst.TestModels.Composition
|
||||
{
|
||||
public class Meta : IMeta
|
||||
public class Meta : ContentTypeBase, IMeta
|
||||
{
|
||||
|
||||
[PropertyType(typeof(TextFieldDataType), PropertyGroup = "Content")]
|
||||
public string MetaKeywords { get; set; }
|
||||
|
||||
[PropertyType(typeof(textfieldMultipleDataType))]
|
||||
public string MetaDescription { get; set; }
|
||||
}
|
||||
|
||||
[Alias("meta", Name = "Meta")]
|
||||
[Mixin(typeof(Meta))]
|
||||
public interface IMeta
|
||||
{}
|
||||
}
|
||||
Reference in New Issue
Block a user