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

[php8-compact] Fix Report tests failing on php8 #20549

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

seamuslee001
Copy link
Contributor

Overview

This fixes the following test failures on php8

-CRM_Report_Utils_ReportTest::testOutputPrint
Undefined array key "groups"

/home/jenkins/bknix-edge/build/build-0/web/sites/default/files/civicrm/templates_c/en_US/%%1B/1BD/1BD7DE8F%%Statistics.tpl.php:14
-CRM_Report_Utils_ReportTest::testOutputPdf
Undefined array key "groups"

/home/jenkins/bknix-edge/build/build-0/web/sites/default/files/civicrm/templates_c/en_US/%%1B/1BD/1BD7DE8F%%Statistics.tpl.php:14

Before

Those report tests fail on php8

After

Those report tests pass on php8

ping @eileenmcnaughton @demeritcowboy @totten @colemanw

@civibot
Copy link

civibot bot commented Jun 8, 2021

(Standard links)

@civibot civibot bot added the master label Jun 8, 2021
@eileenmcnaughton
Copy link
Contributor

It took me a few reads before I managed to get to the end without glazing over but I feel pretty sure I read this all carefully

@eileenmcnaughton eileenmcnaughton merged commit 7123cab into civicrm:master Jun 8, 2021
@eileenmcnaughton eileenmcnaughton deleted the php8_report branch June 8, 2021 22:23
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.

2 participants