Skip to content

Commit cecfa4f

Browse files
committed
Use actual types for mapping when configuring
1 parent 155a723 commit cecfa4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mapster.Tests/WhenHandlingUnmappedMembers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void TestCleanup()
1919
public void No_Errors_Thrown_With_Default_Configuration_On_Unmapped_Primitive()
2020
{
2121
TypeAdapterConfig.GlobalSettings.RequireDestinationMemberSource = false;
22-
TypeAdapterConfig<ParentPoco, ParentDto>.NewConfig().Compile();
22+
TypeAdapterConfig<SimplePoco, SimpleDto>.NewConfig().Compile();
2323

2424
var source = new SimplePoco {Id = Guid.NewGuid(), Name = "TestName"};
2525

0 commit comments

Comments
 (0)