Skip to content

test(core): improve URL generator test coverage and isolation - #65111

Open
joshtrichards wants to merge 2 commits into
masterfrom
jtr/URLGenTests
Open

joshtrichards wants to merge 2 commits into
masterfrom
jtr/URLGenTests

Conversation

@joshtrichards

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

  • restore $_REQUEST['redirect_url'] and front_controller_active in between tests; also call parent::tearDown()
  • add getAbsoluteURL() coverage for a URL that already includes the webroot

TODO

  • Backport?

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: Copilot:gpt-6-luna

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added this to the Nextcloud 36 milestone Oct 4, 2026
@joshtrichards
joshtrichards requested a review from a team as a code owner October 4, 2026 21:58
@joshtrichards joshtrichards added the 2. developing Work in progress label Oct 4, 2026
@joshtrichards
joshtrichards requested review from icewind1991 and removed request for a team October 4, 2026 21:58
@joshtrichards joshtrichards added the tests Related to tests label Oct 4, 2026
@joshtrichards joshtrichards added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted feature: files tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants