Skip to content

[docs] Document new externallib_testcase #1419

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrewnicols
Copy link
Member

Note: I have deliberately not updated the stable versions. This change has been applied to 4.4, 4.5, 5.0, and main. It has not been applied to 4.1.

@Copilot Copilot AI review requested due to automatic review settings August 14, 2025 02:56
Copy link

netlify bot commented Aug 14, 2025

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit 95686f0
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/689d547286fe640008488ddd
😎 Deploy Preview https://deploy-preview-1419--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the external services testing documentation to reflect changes in the testing framework. The documentation now recommends using a new externallib_testcase class for testing external services and updates the example code to follow modern PHPUnit practices.

  • Introduces documentation for the new \core_external\tests\externallib_testcase class
  • Updates example test code to use modern PHPUnit attributes and practices
  • Removes deprecated testing patterns and simplifies the test setup

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant