Skip to content

Commit

Permalink
logger issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Fahad-Ali-Eviden committed Nov 4, 2024
1 parent 4297850 commit a5af31b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ namespace EPR.ProducerContentValidation.Application.UnitTests.Services.Helpers;
[TestClass]
public class SubsidiaryValidationEvaluatorTests
{
private Mock<ILogger> _mockLogger;
private Mock<ILogger<SubsidiaryValidationEvaluator>> _mockLogger;
private Mock<IProducerValidationEventIssueRequestFormatter> _mockFormatter;
private SubsidiaryValidationEvaluator _evaluator;

[TestInitialize]
public void Setup()
{
_mockLogger = new Mock<ILogger>();
_mockLogger = new Mock<ILogger<SubsidiaryValidationEvaluator>>();
_mockFormatter = new Mock<IProducerValidationEventIssueRequestFormatter>();
_evaluator = new SubsidiaryValidationEvaluator(_mockLogger.Object, _mockFormatter.Object);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ namespace EPR.ProducerContentValidation.Application.Services.Helpers;

public class SubsidiaryValidationEvaluator : ISubsidiaryValidationEvaluator
{
private readonly ILogger _logger;
private readonly ILogger<SubsidiaryValidationEvaluator> _logger;
private readonly IProducerValidationEventIssueRequestFormatter _producerValidationEventIssueRequestFormatter;

public SubsidiaryValidationEvaluator(ILogger logger, IProducerValidationEventIssueRequestFormatter producerValidationEventIssueRequestFormatter)
public SubsidiaryValidationEvaluator(ILogger<SubsidiaryValidationEvaluator> logger, IProducerValidationEventIssueRequestFormatter producerValidationEventIssueRequestFormatter)
{
_logger = logger;
_producerValidationEventIssueRequestFormatter = producerValidationEventIssueRequestFormatter;
Expand Down

0 comments on commit a5af31b

Please sign in to comment.