Adding unit tests for the two repository-backing cache providers
This commit is contained in:
@@ -12,12 +12,11 @@ namespace Umbraco.Core.Persistence.UnitOfWork
|
||||
internal class FileUnitOfWork : IUnitOfWork
|
||||
{
|
||||
private Guid _key;
|
||||
private List<Operation> _operations;
|
||||
private readonly List<Operation> _operations = new List<Operation>();
|
||||
|
||||
public FileUnitOfWork()
|
||||
{
|
||||
_key = Guid.NewGuid();
|
||||
_operations = new List<Operation>();
|
||||
}
|
||||
|
||||
#region Implementation of IUnitOfWork
|
||||
|
||||
@@ -16,7 +16,6 @@ namespace Umbraco.Core.Persistence.UnitOfWork
|
||||
public PetaPocoUnitOfWork()
|
||||
{
|
||||
_key = Guid.NewGuid();
|
||||
//_operations = new List<Operation>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user