Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[stable35] test(sharing): mock password enforcement excluded groups in testDuplicateCustomTokens - #67072

Merged
szaimen merged 1 commit into
stable35from
fix/share-manager-test-json-decode-deprecation
Nov 27, 2026
Merged

szaimen merged 1 commit into
stable35from
fix/share-manager-test-json-decode-deprecation

Conversation

@szaimen

@szaimen szaimen commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The config mock did not cover the shareapi_enforce_links_password_excluded_groups key, so it returned null and json_decode() in shareApiLinkEnforcePassword() emitted a PHP deprecation on every test run.

Checklist

AI (if applicable)

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

…cateCustomTokens

The config mock did not cover the
shareapi_enforce_links_password_excluded_groups key, so it returned null
and json_decode() in shareApiLinkEnforcePassword() emitted a PHP
deprecation on every test run.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
@szaimen szaimen added this to the Nextcloud 35.0.4 milestone Nov 27, 2026
@szaimen
szaimen requested a review from a team as a code owner November 27, 2026 10:51
@szaimen szaimen added the bug label Nov 27, 2026
@szaimen
szaimen removed the request for review from a team November 27, 2026 10:51
@szaimen szaimen added the 3. to review Waiting for reviews label Nov 27, 2026
@szaimen
szaimen requested a review from leftybournes November 27, 2026 10:54
@szaimen
szaimen enabled auto-merge November 27, 2026 11:21
@szaimen
szaimen merged commit 05d80e9 into stable35 Nov 27, 2026
163 of 175 checks passed
@szaimen
szaimen deleted the fix/share-manager-test-json-decode-deprecation branch November 27, 2026 11:38
@szaimen

szaimen commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

/backport to master

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 bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants