Remove notification registration for ValueEditorCacheRefresher

This commit is contained in:
Nikolaj
2021-08-30 10:57:32 +02:00
parent d448ddd7df
commit 3d2dae075d

View File

@@ -81,9 +81,7 @@ namespace Umbraco.Cms.Tests.Integration.Umbraco.Infrastructure.Services
protected override void CustomTestSetup(IUmbracoBuilder builder) => builder
.AddNotificationHandler<ContentPublishingNotification, ContentNotificationHandler>()
.AddNotificationHandler<ContentCopyingNotification, ContentNotificationHandler>()
.AddNotificationHandler<ContentCopiedNotification, ContentNotificationHandler>()
.AddNotificationHandler<DataTypeSavedNotification, ValueEditorCacheRefresher>()
.AddNotificationHandler<DataTypeDeletedNotification, ValueEditorCacheRefresher>();
.AddNotificationHandler<ContentCopiedNotification, ContentNotificationHandler>();
[TearDown]
public void Teardown() => ContentRepositoryBase.ThrowOnWarning = false;