@@ -18,7 +18,7 @@ public enum Destination { Default, Bar, Foo }
1818 cfg . EnableEnumMappingValidation ( ) ;
1919 cfg . CreateMap < Source , Destination > ( )
2020 . ConvertUsingEnumMapping ( opt => opt . MapByName ( ) ) ;
21- } ) ;
21+ } , _loggerFactory ) ;
2222
2323 protected override void Because_of ( )
2424 {
@@ -44,7 +44,7 @@ public enum Destination { fOObAR, DefaulT, Bar, Foo }
4444 cfg . EnableEnumMappingValidation ( ) ;
4545 cfg . CreateMap < Source , Destination > ( )
4646 . ConvertUsingEnumMapping ( opt => opt . MapByName ( true ) ) ;
47- } ) ;
47+ } , _loggerFactory ) ;
4848
4949 protected override void Because_of ( )
5050 {
@@ -73,7 +73,7 @@ public enum Destination { Default, Foo }
7373 . ConvertUsingEnumMapping ( opt => opt
7474 . MapByName ( )
7575 . MapValue ( Source . Bar , Destination . Foo ) ) ;
76- } ) ;
76+ } , _loggerFactory ) ;
7777
7878 protected override void Because_of ( )
7979 {
@@ -97,7 +97,7 @@ public enum Destination { Default, Bar }
9797 cfg . EnableEnumMappingValidation ( ) ;
9898 cfg . CreateMap < Source , Destination > ( )
9999 . ConvertUsingEnumMapping ( opt => opt . MapByName ( ) ) ;
100- } ) ;
100+ } , _loggerFactory ) ;
101101
102102 [ Fact ]
103103 public void Should_fail_validation ( ) =>
@@ -118,7 +118,7 @@ public enum Destination { Default, Foo }
118118 . ConvertUsingEnumMapping ( opt => opt
119119 . MapByName ( )
120120 . MapValue ( Source . Bar , Destination . Foo ) ) ;
121- } ) ;
121+ } , _loggerFactory ) ;
122122
123123 [ Fact ]
124124 public void Should_fail_validation ( ) =>
0 commit comments