(Temporary) fixes for failing tests?

This commit is contained in:
Andy Butland
2020-10-12 08:21:29 +02:00
parent ef962b6934
commit 5f9cf16da6
2 changed files with 14 additions and 0 deletions

View File

@@ -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()
{

View File

@@ -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()
{