Post-merge fixes

This commit is contained in:
Stephan
2018-07-18 10:32:50 +02:00
parent 1f1bb37a57
commit 6c526b24a0
4 changed files with 4 additions and 10 deletions

View File

@@ -35,7 +35,6 @@ namespace Umbraco.Core.Models.Identity
private int[] _startContentIds;
private DateTime? _lastPasswordChangeDateUtc;
/// <summary>
/// Used to construct a new instance without an identity
/// </summary>

View File

@@ -18,10 +18,8 @@ namespace Umbraco.Core.Models.Identity
where TRole : IdentityUserRole<string>
where TClaim : IdentityUserClaim<TKey>
{
/// <summary>
/// Constructor
///
/// Initializes a new instance of the <see cref="IdentityUser{TKey, TLogin, TRole, TClaim}"/> class.
/// </summary>
public IdentityUser()
{
@@ -77,7 +75,6 @@ namespace Umbraco.Core.Models.Identity
/// <summary>
/// DateTime in UTC when the password was last changed.
///
/// </summary>
public virtual DateTime? LastPasswordChangeDateUtc { get; set; }

View File

@@ -358,6 +358,5 @@ namespace Umbraco.Core.Services
/// <param name="snippetName">The name of the snippet</param>
/// <returns>The content of the partial view.</returns>
string GetPartialViewSnippetContent(string snippetName);
}
}

View File

@@ -181,6 +181,8 @@ namespace Umbraco.Tests.Testing
// imported from TestWithSettingsBase
// which was inherited by TestWithApplicationBase so pretty much used everywhere
Umbraco.Web.Composing.Current.UmbracoContextAccessor = new TestUmbracoContextAccessor();
// web
Container.Register(_ => Umbraco.Web.Composing.Current.UmbracoContextAccessor);
Container.RegisterSingleton<PublishedRouter>();
Container.RegisterCollectionBuilder<ContentFinderCollectionBuilder>();
@@ -189,8 +191,7 @@ namespace Umbraco.Tests.Testing
}
protected virtual void ComposeWtf()
{
{
// what else?
var runtimeStateMock = new Mock<IRuntimeState>();
runtimeStateMock.Setup(x => x.Level).Returns(RuntimeLevel.Run);
@@ -336,8 +337,6 @@ namespace Umbraco.Tests.Testing
Container.RegisterCollectionBuilder<DataEditorCollectionBuilder>();
Container.RegisterSingleton<PropertyEditorCollection>();
Container.RegisterSingleton<ParameterEditorCollection>();
}
#endregion