-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
additional test for polymorphic relationships
Test that a CSV file can contain records that map a relationship field to different parent types if the relationship is a polymorphic relationship.
- Loading branch information
1 parent
5ff1cb3
commit 939c5bf
Showing
4 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
src/test/resources/testfiles/data/polymorphicRelationshipInAttachment.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Name,Body,Parent:Account-Oracle_Id__c | ||
TestAttachment_01.txt,"target/test-classes/testfiles/data/attachment.txt","1-000000" | ||
Name,Body,Parent:Account-Oracle_Id__c,Parent:Contact-Email | ||
accountAttachment.txt,"target/test-classes/testfiles/data/attachment.txt","1-000000","" | ||
contactAttachment.txt,"target/test-classes/testfiles/data/attachment.txt","","[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters