-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Import] Check subtype validity in validate rather than wait for 'imp…
…ort', test
- Loading branch information
1 parent
92414c6
commit 1c5a23d
Showing
4 changed files
with
74 additions
and
72 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