Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#953 Add test for updating email via import & ensuring it is primary #14225

Merged
merged 1 commit into from
Jun 1, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Add test attempting to replicate dev/core#953

Before

No test

After

test

Technical Details

@stesi561 I didn't manage to replicate the bug in a test.

But if you look at CRM_Contact_Import_Parser_ContactTest::testImportPrimaryAddress it has location type mappings so maybe that needs to be added to the test to get it to replicate the bug - what location type are you mapping to?

Comments

@civibot civibot bot added the master label May 10, 2019
@civibot
Copy link

civibot bot commented May 10, 2019

(Standard links)

@eileenmcnaughton eileenmcnaughton force-pushed the import_test branch 2 times, most recently from 5c2cfb7 to 373c66c Compare May 11, 2019 00:40
…rimary on import

Add test for updating email via import & ensuring it is primary
@eileenmcnaughton
Copy link
Contributor Author

@stesi561 did you get around to testing this?

@stesi561
Copy link
Contributor

Sorry - I'll try and get to this tonight.

@eileenmcnaughton
Copy link
Contributor Author

test this please

@stesi561
Copy link
Contributor

I've just tried on 5.13.4 wordpres version - with the patch. And works as expected. I haven't tested any other behaviour.

@mattwire
Copy link
Contributor

mattwire commented Jun 1, 2019

Merging based on @stesi561 review

@mattwire mattwire merged commit 596ebcc into civicrm:master Jun 1, 2019
@eileenmcnaughton eileenmcnaughton deleted the import_test branch June 1, 2019 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants