RegisterUnique
This commit is contained in:
@@ -3,8 +3,6 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Composing;
|
||||
using Umbraco.Core.Configuration.UmbracoSettings;
|
||||
using Umbraco.Core.IO;
|
||||
using Umbraco.Core.Models;
|
||||
@@ -39,7 +37,7 @@ namespace Umbraco.Tests.Persistence.Repositories
|
||||
{
|
||||
base.Compose();
|
||||
|
||||
Composition.RegisterSingleton(f => new DataEditorCollection(Enumerable.Empty<DataEditor>()));
|
||||
Composition.RegisterUnique(f => new DataEditorCollection(Enumerable.Empty<DataEditor>()));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user