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

Totara 19 fixes #64

Merged
merged 4 commits into from
Mar 5, 2025
Merged

Conversation

SashaAnastasi
Copy link

Runtest fixes for compatibility with T19 and phpunit 10.5

@@ -208,7 +208,7 @@ private function generate_store_instance_config(array $stores): array {
foreach ($stores as $name => $store) {

// 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