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#2814 migrate export processor to use MessageRender #21367

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Sep 4, 2021

Overview

dev/core#2814 migrate export processor to use MessageRender

Before

replaceContactTokens used

After

MessageRender used

Technical Details

Note that test cover is in CRM_Export_BAO_ExportTest

I used testMergeSameAddressGreetingOptions to step through it
as that specifically covers this change. In this case the cover is tightly correlated enough to make an r-run redundant

Comments

https://lab.civicrm.org/dev/core/-/issues/2814

@civibot
Copy link

civibot bot commented Sep 4, 2021

(Standard links)

Note that test cover is in
I used  to step through it
as that specifically covers this change
@demeritcowboy
Copy link
Contributor

I thought I fixed this test but I think I know what the second problem is.

CRM_Utils_TokenConsistencyTest::testCaseTokenConsistency
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 Ongoing\n
 No\n
 2021-09-04 06:22:17\n
-2021-09-04 06:22:17\n
+2021-09-04 06:22:18\n
 '

/home/jenkins/bknix-dfl/build/core-21367-7xmdz/web/sites/all/modules/civicrm/tests/phpunit/CRM/Utils/TokenConsistencyTest.php:57

jenkins retest this please

@eileenmcnaughton
Copy link
Contributor Author

test this please

@colemanw
Copy link
Member

colemanw commented Sep 6, 2021

I agree test coverage is sufficient to make this a safe change.

@colemanw colemanw merged commit 20f3932 into civicrm:master Sep 6, 2021
@colemanw colemanw deleted the export branch September 6, 2021 01:33
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