fixes some merge issues
This commit is contained in:
@@ -41,9 +41,9 @@ namespace Umbraco.Tests.Membership
|
||||
var propertyTypes = new[]
|
||||
{
|
||||
// AutoPublishedContentType will auto-generate other properties
|
||||
new PublishedPropertyType("title", 0, Guid.Empty),
|
||||
new PublishedPropertyType("bodyText", 0, Guid.Empty),
|
||||
new PublishedPropertyType("author", 0, Guid.Empty)
|
||||
new PublishedPropertyType("title", 0, "?"),
|
||||
new PublishedPropertyType("bodyText", 0, "?"),
|
||||
new PublishedPropertyType("author", 0, "?")
|
||||
};
|
||||
var type = new AutoPublishedContentType(0, "anything", propertyTypes);
|
||||
PublishedContentType.GetPublishedContentTypeCallback = (alias) => type;
|
||||
|
||||
@@ -80,6 +80,7 @@ namespace Umbraco.Web
|
||||
{
|
||||
if (content == null) throw new ArgumentNullException("content");
|
||||
if (query == null) throw new ArgumentNullException("query");
|
||||
_membershipHelper = new MembershipHelper(_umbracoContext);
|
||||
_currentPage = content;
|
||||
_query = query;
|
||||
}
|
||||
@@ -118,6 +119,7 @@ namespace Umbraco.Web
|
||||
{
|
||||
if (query == null) throw new ArgumentNullException("query");
|
||||
_query = query;
|
||||
_membershipHelper = new MembershipHelper(_umbracoContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user