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

[REF] Prelminary tidy up to support fix for dev/core#2344 #19480

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

This is all the formatting, doc block & test support fixes to support my fix for the regression https://lab.civicrm.org/dev/core/-/issues/2344 - that patch is a bit of reading so splitting this off

It should all be NFC - the key change is better test support for when pdfs or docs
are generated - we now throw an exception that can be handled in the test.

Before

Tests need to pass in 'is_unit_test' & we use weird return

After

Our preferred method is used - ie throwing a prematureExitException which the tests can catch

  • use of [] rather than list[] formatting (this happens every time I save so getting it merged first helps keep things sane) and minor test cleanups

Technical Details

Comments

@civibot
Copy link

civibot bot commented Feb 1, 2021

(Standard links)

@eileenmcnaughton
Copy link
Contributor Author

@seamuslee001 what do you think the test issue is?

@seamuslee001
Copy link
Contributor

Jenkins re test this please

@eileenmcnaughton
Copy link
Contributor Author

The test stuff was causing other problems so this really is just the nfc changes to help keep the code in order - trying to figure out how to proceed with the tests....

@eileenmcnaughton eileenmcnaughton merged commit 28fc1da into civicrm:5.34 Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants