File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/WorkflowCore.UnitTests/Services/DefinitionStorage Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11using System ;
2- using System . Collections . Generic ;
2+ using FakeItEasy ;
33using WorkflowCore . Interface ;
44using WorkflowCore . Services . DefinitionStorage ;
55using Xunit ;
@@ -16,7 +16,7 @@ public class YamlInheritedPropertyIntegrationTest
1616 public void ShouldBindInheritedPropertiesInYamlDefinition ( )
1717 {
1818 // Arrange
19- var registry = new WorkflowRegistry ( ) ;
19+ var registry = A . Fake < IWorkflowRegistry > ( ) ;
2020 var loader = new DefinitionLoader ( registry , new TypeResolver ( ) ) ;
2121
2222 // This YAML definition uses a custom step (IterateListStep) that inherits from Foreach
@@ -48,7 +48,7 @@ public void ShouldBindInheritedPropertiesInYamlDefinition()
4848 public void ShouldStillThrowForUnknownProperties ( )
4949 {
5050 // Arrange
51- var registry = new WorkflowRegistry ( ) ;
51+ var registry = A . Fake < IWorkflowRegistry > ( ) ;
5252 var loader = new DefinitionLoader ( registry , new TypeResolver ( ) ) ;
5353
5454 var yamlWithUnknownProperty = @"
You can’t perform that action at this time.
0 commit comments