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:
Bjarke Berg
2023-07-07 08:56:17 +02:00
38 changed files with 1252 additions and 89 deletions

View File

@@ -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);
});