IPublishedContent.UrlSegment

This commit is contained in:
Stephan
2018-04-28 16:35:33 +02:00
parent ce8775b3e7
commit 6959e595f5
16 changed files with 19 additions and 19 deletions

View File

@@ -142,7 +142,7 @@ namespace Umbraco.Tests.PublishedContent
TemplateId = 5,
UpdateDate = DateTime.Now,
Path = "-1,3",
UrlName = "home-page",
UrlSegment = "home-page",
Name = "Page" + Guid.NewGuid().ToString(),
Version = Guid.NewGuid(),
WriterId = 1,
@@ -207,7 +207,7 @@ namespace Umbraco.Tests.PublishedContent
public string Name { get; set; }
public PublishedCultureInfos GetCulture(string culture = ".") => throw new NotSupportedException();
public IReadOnlyDictionary<string, PublishedCultureInfos> Cultures => throw new NotSupportedException();
public string UrlName { get; set; }
public string UrlSegment { get; set; }
public string WriterName { get; set; }
public string CreatorName { get; set; }
public int WriterId { get; set; }

View File

@@ -220,7 +220,7 @@ namespace Umbraco.Tests.PublishedContent
Id = 1,
SortOrder = 0,
Name = "Content 1",
UrlName = "content-1",
UrlSegment = "content-1",
Path = "/1",
Level = 1,
Url = "/content-1",
@@ -243,7 +243,7 @@ namespace Umbraco.Tests.PublishedContent
Id = 2,
SortOrder = 1,
Name = "Content 2",
UrlName = "content-2",
UrlSegment = "content-2",
Path = "/2",
Level = 1,
Url = "/content-2",
@@ -266,7 +266,7 @@ namespace Umbraco.Tests.PublishedContent
Id = 3,
SortOrder = 2,
Name = "Content 2Sub",
UrlName = "content-2sub",
UrlSegment = "content-2sub",
Path = "/3",
Level = 1,
Url = "/content-2sub",

View File

@@ -178,7 +178,7 @@ namespace Umbraco.Tests.PublishedContent
public string Name { get; set; }
public PublishedCultureInfos GetCulture(string culture = ".") => throw new NotSupportedException();
public IReadOnlyDictionary<string, PublishedCultureInfos> Cultures => throw new NotSupportedException();
public string UrlName { get; set; }
public string UrlSegment { get; set; }
public string WriterName { get; set; }
public string CreatorName { get; set; }
public int WriterId { get; set; }