Skip to content

Commit ae9de5e

Browse files
committed
Adding missing configuration API test coverage
1 parent 7128768 commit ae9de5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AgileMapper.UnitTests/Configuration/WhenConfiguringObjectCreationCallbacks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public void ShouldCallGlobalObjectCreatingAndObjectCreatedCallbacks()
377377
mapper
378378
.After
379379
.CreatingInstances
380-
.If((s, t, o, i) => !i.HasValue)
380+
.If((s, t, o) => o != null)
381381
.Call((s, t) => postCallbackObjects.AddRange(new[] { s, t }));
382382

383383
var source = new Person();

0 commit comments

Comments
 (0)