Changes CustomTestSetup to just be a normal method, not sure why it was an action, fixes ContentEventsTests which requires NuCache

This commit is contained in:
Shannon
2020-12-23 13:57:41 +11:00
parent d5a19530f3
commit 534b74dda5
5 changed files with 19 additions and 29 deletions

View File

@@ -24,9 +24,8 @@ namespace Umbraco.Tests.Testing
public bool Mapper { get => _mapper.ValueOrDefault(WithApplication); set => _mapper.Set(value); }
private readonly Settable<bool> _mapper = new Settable<bool>();
// FIXME: to be completed
/// <summary>
/// Gets or sets a value indicating ...
/// Gets or sets a value indicating whether the LEGACY XML Cache used in tests should bind to repository events
/// </summary>
public bool PublishedRepositoryEvents { get => _publishedRepositoryEvents.ValueOrDefault(false); set => _publishedRepositoryEvents.Set(value); }
private readonly Settable<bool> _publishedRepositoryEvents = new Settable<bool>();