Skip to content

Conversation

@SashaAnastasi
Copy link

Runtest fixes for compatibility with T19 and phpunit 10.5


// First check that all the required fields are present in the store.
if (!(array_key_exists('type', $store) ||
if (!(array_key_exists('type', $store) &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line doesn't feel like a Totara specific change to me? - should it land in the main branch and be backported to the t19 branch?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entire MR should probably go in the main branch.
I suspect this issue, and that of the mismatched fields, haven't been detected because the test function's processing stops once the first exception is thrown.

@SashaAnastasi SashaAnastasi changed the base branch from TOTARA_19 to master March 4, 2025 23:53
@SashaAnastasi SashaAnastasi changed the base branch from master to TOTARA_19 March 4, 2025 23:55
@danmarsden danmarsden merged commit 017a1c7 into catalyst:TOTARA_19 Mar 5, 2025
3 of 20 checks passed
@SashaAnastasi SashaAnastasi deleted the TOTARA_19-fixes branch March 5, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants