Adds template repository tests, updates template repo business logic to be able to delete the whole template tree, updates some script repo tests too.
This commit is contained in:
@@ -30,14 +30,6 @@ namespace Umbraco.Core.Models
|
||||
//private static readonly PropertyInfo MasterTemplateIdSelector = ExpressionHelper.GetPropertyInfo<Template, int>(x => x.MasterTemplateId);
|
||||
private static readonly PropertyInfo MasterTemplateAliasSelector = ExpressionHelper.GetPropertyInfo<Template, string>(x => x.MasterTemplateAlias);
|
||||
|
||||
|
||||
internal Template(string path)
|
||||
: base(path)
|
||||
{
|
||||
base.Path = path;
|
||||
ParentId = -1;
|
||||
}
|
||||
|
||||
public Template(string path, string name, string alias)
|
||||
: base(path)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user