Refactors how macros are stored in the DB

This commit is contained in:
Shannon
2018-05-01 12:12:26 +10:00
parent 1bdf064437
commit 459479a7b8
31 changed files with 592 additions and 653 deletions

View File

@@ -20,7 +20,7 @@ namespace Umbraco.Tests.Models
[Test]
public void Can_Deep_Clone()
{
var macro = new Macro(1, Guid.NewGuid(), true, 3, "test", "Test", "blah", false, true, true, "script");
var macro = new Macro(1, Guid.NewGuid(), true, 3, "test", "Test", false, true, true, "~/script.cshtml", MacroTypes.PartialView);
macro.Properties.Add(new MacroProperty(6, Guid.NewGuid(), "rewq", "REWQ", 1, "asdfasdf"));
var clone = (Macro)macro.DeepClone();