-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23526 from eileenmcnaughton/import_sub
[Import] Check subtype validity in validate rather than wait for 'imort'
- Loading branch information
Showing
8 changed files
with
79 additions
and
55 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
8 changes: 8 additions & 0 deletions
8
tests/phpunit/CRM/Contact/Import/Form/data/individual_contact_sub_types.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
first_name,Last Name,Organization,Contact Subtype,Organization SubType,expected | ||
Joe,Green,Greenfingers,baby,,Valid | ||
Joe,Green,Greenfingers,Infant,,Valid | ||
Joe,Green,Greenfingers,infant,,Valid | ||
Joe,Green,Greenfingers,rando,,Invalid | ||
Joe,Green,Greenfingers,,baby,Invalid | ||
Joe,Green,Greenfingers,,Infant,Invalid | ||
Joe,Green,Greenfingers,,infant,Invalid |
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
1 change: 1 addition & 0 deletions
1
tests/phpunit/CRM/Contribute/Import/Parser/data/.~lock.contributions.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
,eileen,eileen-laptop,20.05.2022 17:00,file:///home/eileen/.config/libreoffice/4; |
2 changes: 2 additions & 0 deletions
2
tests/phpunit/CRM/Contribute/Import/Parser/data/contributions.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
External Identifier,Total Amount,Receive Date,Financial Type,Soft Credit to | ||
bob,65,2008-09-20,Donation,[email protected] |
2 changes: 2 additions & 0 deletions
2
tests/phpunit/CRM/Contribute/Import/Parser/data/contributions.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
External Identifier,Total Amount,Receive Date,Financial Type,Soft Credit to | ||
bob,65,2008-09-20,Donation,[email protected] |
2 changes: 2 additions & 0 deletions
2
tests/phpunit/CRM/Contribute/Import/Parser/data/contributions.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
External Identifier,Total Amount,Receive Date,Financial Type,Soft Credit to | ||
bob,65,2008-09-20,Donation,[email protected] |