Added functionality to filter getReportMetadata and getSegmentsMetada in SystemTestCase
Please include a description of this change and which issue it fixes. If no issue exists yet please include context and what problem it solves.
@AltamashShaikh I think it might be useful to add or change a test in core that uses that new possibility so we can directly see how and if it works. That might also prevent future regressions. You could for example change the custom dimension tests: https://github.com/matomo-org/matomo/blob/d7dced0928c7457f4e14fb571d897ac927b95134/plugins/CustomDimensions/tests/System/ApiTest.php#L162