Skip to content

Commit 790945b

Browse files
authored
Merge pull request #779 from JMolenkamp/fix-failing-test
Fix test: Use actual types for mapping when configuring
2 parents 514a0a5 + cecfa4f commit 790945b

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)