Skip to content

Update the processed report expectation for the report ratio columns - #138

Draft
tzi wants to merge 1 commit into
prepare6xfrom
report-ratio-columns
Draft

Update the processed report expectation for the report ratio columns#138
tzi wants to merge 1 commit into
prepare6xfrom
report-ratio-columns

Conversation

@tzi

@tzi tzi commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Description

Updates the TwoVisitsWithCustomVariables processed report expectation for the percentage-of-the-report-total columns that matomo-org/matomo#24990 adds to API.getProcessedReport.

Impact

None visible to users: this is a test expectation only.

Step by step tests

Automated

The expectation was regenerated against this branch's tree, with matomo-org/matomo#24990 applied to core:

  1. Check out the core branch of ScheduledReports - Add a percentage of the report total column matomo#24990 with this branch in plugins/CustomVariables.
  2. Run ddev exec "cd /var/www/html/tests/PHPUnit && vendor/bin/phpunit ../../plugins/CustomVariables/tests/System/TwoVisitsWithCustomVariablesTest.php".
    👁️ 5 tests pass.
  3. Without the core change, the same run fails on this one file, which is why the two have to land together.

The added lines are only the new nb_visits_report_ratio / nb_actions_report_ratio entries in columns and on each row: stripping them reproduces the previous expectation byte for byte.

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

API.getProcessedReport gained a percentage-of-the-report-total column for every
metric that supports a report total ratio, see matomo-org/matomo#24990.
tzi added a commit to matomo-org/matomo that referenced this pull request Aug 4, 2026
…ation

The pinned commit and prepare6x had identical trees, so this only brings in the
regenerated processed report expectation. Re-pin to the merged commit once
matomo-org/plugin-CustomVariables#138 lands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant