public override void Setup() { base.Setup(); string xml = PublishedContentXml.PublishedContentTestXml(1234, _node1173Guid); IEnumerable <ContentNodeKit> kits = PublishedContentXmlAdapter.GetContentNodeKits( xml, TestHelper.ShortStringHelper, out ContentType[] contentTypes, out DataType[] dataTypes).ToList();
public override void Setup() { base.Setup(); var xml = PublishedContentXml.PublishedContentTestXml(1234, _node1173Guid); IEnumerable <ContentNodeKit> kits = PublishedContentXmlAdapter.GetContentNodeKits( xml, TestHelper.ShortStringHelper, out var contentTypes, out var dataTypes).ToList(); _dataTypes = dataTypes; // configure the Home content type to be composed of another for tests. var compositionType = new ContentType(TestHelper.ShortStringHelper, -1) { Alias = "MyCompositionAlias" }; contentTypes.First(x => x.Alias == "Home").AddContentType(compositionType); InitializedCache(kits, contentTypes, dataTypes); }