Merge remote-tracking branch 'origin/v13/dev' into v14/dev
# Conflicts: # Directory.Build.props # src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
This commit is contained in:
@@ -153,11 +153,20 @@ public class ComponentTests
|
||||
return new ProfilingLogger(Mock.Of<ILogger<ProfilingLogger>>(), Mock.Of<IProfiler>());
|
||||
}
|
||||
|
||||
if (type == typeof(ILogger<ComponentCollection>))
|
||||
{
|
||||
return Mock.Of<ILogger<ComponentCollection>>();
|
||||
}
|
||||
|
||||
if (type == typeof(ILogger<ComponentCollection>))
|
||||
{
|
||||
return Mock.Of<ILogger<ComponentCollection>>();
|
||||
}
|
||||
|
||||
if (type == typeof(IServiceProviderIsService))
|
||||
{
|
||||
return Mock.Of<IServiceProviderIsService>();
|
||||
}
|
||||
throw new NotSupportedException(type.FullName);
|
||||
});
|
||||
});
|
||||
@@ -315,6 +324,11 @@ public class ComponentTests
|
||||
{
|
||||
return Mock.Of<ILogger<ComponentCollection>>();
|
||||
}
|
||||
|
||||
if (type == typeof(IServiceProviderIsService))
|
||||
{
|
||||
return Mock.Of<IServiceProviderIsService>();
|
||||
}
|
||||
|
||||
throw new NotSupportedException(type.FullName);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user