(Temporary) fixes for failing tests?
This commit is contained in:
@@ -30,6 +30,13 @@ namespace Umbraco.Tests.Integration.Services
|
||||
private IMemberTypeService MemberTypeService => GetRequiredService<IMemberTypeService>();
|
||||
private IMemberService MemberService => GetRequiredService<IMemberService>();
|
||||
|
||||
[SetUp]
|
||||
public void SetupTest()
|
||||
{
|
||||
// TODO: remove this once IPublishedSnapShotService has been implemented with nucache.
|
||||
Umbraco.Core.Services.Implement.MemberTypeService.ClearScopeEvents();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Can_Update_Member_Property_Value()
|
||||
{
|
||||
|
||||
@@ -19,6 +19,13 @@ namespace Umbraco.Tests.Integration.Services
|
||||
private IMemberService MemberService => GetRequiredService<IMemberService>();
|
||||
private IMemberTypeService MemberTypeService => GetRequiredService<IMemberTypeService>();
|
||||
|
||||
[SetUp]
|
||||
public void SetupTest()
|
||||
{
|
||||
// TODO: remove this once IPublishedSnapShotService has been implemented with nucache.
|
||||
Umbraco.Core.Services.Implement.MemberTypeService.ClearScopeEvents();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Member_Cannot_Edit_Property()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user