Fix broken logger in tests

This commit is contained in:
Sven Geusens
2024-12-12 11:06:43 +01:00
parent 2dbdaa1056
commit f833350218

View File

@@ -1,5 +1,6 @@
using System.Collections.ObjectModel;
using Examine;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using Umbraco.Cms.Api.Management.Factories;
@@ -51,7 +52,8 @@ public class IndexPresentationFactoryTests
var factory = new IndexPresentationFactory(
indexDiagnosticsFactoryMock.Object,
indexRebuilderMock.Object,
indexRebuilderServiceMock.Object);
indexRebuilderServiceMock.Object,
Mock.Of<ILogger<IndexPresentationFactory>>());
// act