Code cleanup. Implemented ability to schedule Library Backups.
This commit is contained in:
parent
83b9394b17
commit
b4ee16d8d1
35 changed files with 217 additions and 91 deletions
|
@ -1,4 +1,3 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using API.Entities.Enums;
|
||||
using API.Parser;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using API.Interfaces;
|
||||
using API.Interfaces.Services;
|
||||
using API.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using NSubstitute;
|
||||
|
|
|
@ -10,10 +10,10 @@ namespace API.Tests.Services
|
|||
// private readonly IArchiveService _archiveService = Substitute.For<IArchiveService>();
|
||||
// private readonly IDirectoryService _directoryService = Substitute.For<DirectoryService>();
|
||||
|
||||
public CacheServiceTests()
|
||||
{
|
||||
//_cacheService = new CacheService(_logger, _unitOfWork, _archiveService, _directoryService);
|
||||
}
|
||||
// public CacheServiceTests()
|
||||
// {
|
||||
// //_cacheService = new CacheService(_logger, _unitOfWork, _archiveService, _directoryService);
|
||||
// }
|
||||
|
||||
//string GetCachedPagePath(Volume volume, int page)
|
||||
[Fact]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using API.Interfaces;
|
||||
using API.Services;
|
||||
using API.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using NSubstitute;
|
||||
using Xunit;
|
||||
|
|
|
@ -1,15 +1,10 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
using API.Entities;
|
||||
using API.Entities.Enums;
|
||||
using API.Interfaces;
|
||||
using API.Interfaces.Services;
|
||||
using API.Parser;
|
||||
using API.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using NSubstitute;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue