All tests green

This commit is contained in:
Stephan
2018-04-28 09:55:36 +02:00
parent 923fdf9199
commit 27390afe86
6 changed files with 39 additions and 5 deletions

View File

@@ -22,6 +22,12 @@ namespace Umbraco.Core.Services.Implement
// that one is always immediate (transactional)
public static event TypedEventHandler<TService, ContentTypeChange<TItem>.EventArgs> UowRefreshedEntity;
// used by tests to clear events
internal static void ClearScopeEvents()
{
UowRefreshedEntity = null;
}
// these must be dispatched
public static event TypedEventHandler<TService, SaveEventArgs<TItem>> Saving;
public static event TypedEventHandler<TService, SaveEventArgs<TItem>> Saved;