Move InernalsVisibleTo into AssemblyInfo instead of TestControllerFactory
This commit is contained in:
@@ -34,3 +34,8 @@ using System.Runtime.InteropServices;
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
||||
// Internals must be visible to DynamicProxyGenAssembly2
|
||||
// in order to mock loggers loggers with types from the assembly
|
||||
// I.E. Mock.Of<ILogger<TestControllerFactory>>()
|
||||
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
|
||||
|
||||
@@ -13,7 +13,6 @@ using Umbraco.Core.Composing;
|
||||
using Umbraco.Web;
|
||||
using Current = Umbraco.Web.Composing.Current;
|
||||
|
||||
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
|
||||
namespace Umbraco.Tests.TestHelpers.Stubs
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user