2025-12-15 11:50:12 +10:00
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
using Moq;
|
2026-04-30 10:35:31 +10:00
|
|
|
|
using PARR.Core.Repositories.Interfaces.Job;
|
|
|
|
|
|
using PARR.Core.Repositories.Interfaces.Unit;
|
2026-05-04 11:55:07 +10:00
|
|
|
|
using PARR.Core.Services.Shortcodes;
|
|
|
|
|
|
using PARR.Core.Services.UnitFilterService;
|
|
|
|
|
|
using PARR.Domain.Settings;
|
2025-12-15 11:50:12 +10:00
|
|
|
|
|
|
|
|
|
|
namespace PARR.DAL.Tests.DomainServices.Implementations
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ShortcodesServiceTests
|
|
|
|
|
|
{
|
|
|
|
|
|
private readonly Mock<ILogger<ShortcodesService>> loggerMock = new();
|
|
|
|
|
|
private readonly Mock<SettingsFromDb> settingsMock = new();
|
2026-04-30 10:35:31 +10:00
|
|
|
|
private readonly Mock<IJobRepository> jobServiceMock = new();
|
|
|
|
|
|
private readonly Mock<IUnitRepository> unitServiceMock = new();
|
|
|
|
|
|
private readonly Mock<IUnitInValueRepository> unitInValueServiceMock = new();
|
|
|
|
|
|
private readonly Mock<IUnitFieldRepository> unitFieldServiceMock = new();
|
2025-12-15 11:50:12 +10:00
|
|
|
|
private readonly Mock<IUnitFilterService> unitFilterServiceMock = new();
|
|
|
|
|
|
|
|
|
|
|
|
[Fact]
|
|
|
|
|
|
public async Task ApplyShortcodesAsync_WithEc_ShouldReplaceEc()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|