[docs] Update route_testcase namespace#1604
Open
andrewnicols wants to merge 1 commit into
Open
Conversation
✅ Deploy Preview for moodledevdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the routing subsystem testing documentation to reference the fully-qualified \core\tests\router\route_testcase class name, keeping examples aligned with the current PHPUnit base testcase namespace across supported documentation versions.
Changes:
- Replaced references to
\route_testcasewith\core\tests\router\route_testcasein headings, prose, and PHP snippets. - Updated method references (e.g.,
::get_router(),::create_request(),::process_request()) to use the new fully-qualified class name across versioned docs.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/apis/subsystems/routing/testing.md | Updates the “next/current” docs to use the new \core\tests\router\route_testcase namespace in text and examples. |
| versioned_docs/version-5.2/apis/subsystems/routing/testing.md | Same namespace update for 5.2 docs. |
| versioned_docs/version-5.1/apis/subsystems/routing/testing.md | Same namespace update for 5.1 docs. |
| versioned_docs/version-5.0/apis/subsystems/routing/testing.md | Same namespace update for 5.0 docs. |
| versioned_docs/version-4.5/apis/subsystems/routing/testing.md | Same namespace update for 4.5 docs. |
| ### Using the app to handle a request {/* #using-the-app-to-handle-a-request */} | ||
|
|
||
| The `\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. | ||
| The `\core\tests\router\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. |
| ### Using the app to handle a request {/* #using-the-app-to-handle-a-request */} | ||
|
|
||
| The `\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. | ||
| The `\core\tests\router\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. |
| ### Using the app to handle a request {/* #using-the-app-to-handle-a-request */} | ||
|
|
||
| The `\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. | ||
| The `\core\tests\router\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. |
| ### Using the app to handle a request {/* #using-the-app-to-handle-a-request */} | ||
|
|
||
| The `\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. | ||
| The `\core\tests\router\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. |
| ### Using the app to handle a request {/* #using-the-app-to-handle-a-request */} | ||
|
|
||
| The `\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. | ||
| The `\core\tests\router\route_testcase` also includes several methods to simplify generating a Request object, and having routing it within the Router. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pinging @jrchamp