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

External API test fix #884 #885

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

bwalkerl
Copy link
Contributor

@bwalkerl bwalkerl commented Jun 10, 2024

Closes #884

From my testing, the ways to address this was either to use core_external\external_api (4.2+ only) or require externallib.

This is most likely only an issue when this class is called from the external api test, but requiring externallib.php shouldn't cause any harm and should work for both 4.1 and 4.2+.

I believe #796 has been resolved by 87cf066 so we shouldn't need #803

Side note - can we add this test to CI?

@brendanheywood brendanheywood merged commit d812d96 into MOODLE_401_STABLE Jun 11, 2024
22 checks passed
@brendanheywood brendanheywood deleted the external_api_test branch June 11, 2024 01:40
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.

Moodle 4.2+ external API test error
2 participants