File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/MyTested.AspNetCore.Mvc.Controllers/Builders/Controllers Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2
2
{
3
3
using Components ;
4
4
using Contracts . Base ;
5
+ using Internal ;
5
6
using Internal . Contracts ;
6
7
using Internal . TestContexts ;
7
8
using Microsoft . AspNetCore . Mvc . Controllers ;
8
- using Microsoft . AspNetCore . Mvc . Internal ;
9
9
using Microsoft . Extensions . DependencyInjection ;
10
10
using System . Linq . Expressions ;
11
11
using System . Reflection ;
@@ -53,8 +53,10 @@ protected override TController TryCreateComponentWithFactory()
53
53
54
54
protected override void ActivateComponent ( )
55
55
=> this . Services
56
- . GetServices < IControllerPropertyActivator > ( )
57
- ? . ForEach ( a => a . Activate ( this . TestContext . ComponentContext , this . TestContext . Component ) ) ;
56
+ . GetServices ( WebFramework . Internals . ControllerPropertyActivator )
57
+ ? . ForEach ( a => a
58
+ . Exposed ( )
59
+ . Activate ( this . TestContext . ComponentContext , this . TestContext . Component ) ) ;
58
60
59
61
protected override void ProcessAndValidateMethod ( LambdaExpression methodCall , MethodInfo methodInfo )
60
62
{
You can’t perform that action at this time.
0 commit comments