Skip to content

Navigation Menu

Sign in
Sign up

refactor(updatenotification): remove unused notifier mock branch - #64160

Open
joshtrichards wants to merge 2 commits into
master from
jtr/refactor-notTest
Open

refactor(updatenotification): remove unused notifier mock branch #64160
joshtrichards wants to merge 2 commits into
master from
jtr/refactor-notTest

Conversation

@joshtrichards

@joshtrichards joshtrichards commented Sep 10, 2026
edited
Loading

Copy link
Copy Markdown
Member
  • (削除) Resolves: # (削除ここまで)

Summary

  1. The test helper is only called without method overrides, so remove the unused partial-mock path and simplify its signature and return type.

  2. Replace manual try/catch assertions with PHPUnit's expectException() API and split successful and exceptional cases into focused tests.

TODO

  • ...

Checklist

AI (if applicable)

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

The test helper is only called without method overrides, so remove the unused partial-mock path and simplify its signature and return type.
Signed-off-by: Josh <josh.t.richards@gmail.com>
Replace manual try/catch assertions with PHPUnit's expectException() API and split successful and exceptional cases into focused tests.
Assisted-by: Copilot:gpt-5.6-luna
Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added 3. to review Waiting for reviews ⚠️ risk: low Unlikely to cause meaningful regressions; limited runtime or compatibility impact. labels Sep 10, 2026
joshtrichards marked this pull request as ready for review September 10, 2026 01:04
joshtrichards requested a review from a team as a code owner September 10, 2026 01:04
joshtrichards requested review from come-nc, leftybournes, provokateurin and salmart-dev and removed request for a team September 10, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@come-nc come-nc come-nc approved these changes
@salmart-dev salmart-dev Awaiting requested review from salmart-dev salmart-dev is a code owner automatically assigned from nextcloud/server-backend
@leftybournes leftybournes Awaiting requested review from leftybournes leftybournes is a code owner automatically assigned from nextcloud/server-backend
@provokateurin provokateurin Awaiting requested review from provokateurin provokateurin is a code owner automatically assigned from nextcloud/server-backend

At least 2 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

3. to review Waiting for reviews AI assisted feature: activity and notification feature: install and update ⚠️ risk: low Unlikely to cause meaningful regressions; limited runtime or compatibility impact. tests Related to tests

Projects

None yet

Milestone

Nextcloud 36

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /