Repository navigation
[stable35] test(dav): mock share token and session in testCheckTokenUsesNormalizedToken - #67080
Merged
Merged
Conversation
…edToken The share mock did not stub getToken(), so isShareInSession() used null as an array offset, which is deprecated since PHP 8.5. The session mock also still targeted the old public_link_authenticated key, which checkToken() no longer reads. Aligns the test with master. 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
requested review from
come-nc and
provokateurin
and removed request for
a team
November 27, 2026 12:18
3 tasks done
benjaminfrueh
approved these changes
Nov 27, 2026
joshtrichards
approved these changes
Nov 28, 2026
joshtrichards
enabled auto-merge
November 28, 2026 18:49
Contributor
Author
|
/backport to master |
|
The backport to # Switch to the target branch and update it
git checkout master
git pull origin master
# Create the new backport branch
git checkout -b backport/67080/master
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 710481ee
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/67080/masterError: Failed to check for changes with origin/master: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
Contributor
Author
|
/backport to master |
|
The backport to # Switch to the target branch and update it
git checkout master
git pull origin master
# Create the new backport branch
git checkout -b backport/67080/master
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 710481ee
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/67080/masterError: Failed to check for changes with origin/master: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
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.
Summary
The share mock did not stub getToken(), so isShareInSession() used null as an array offset, which is deprecated since PHP 8.5. The session mock also still targeted the old public_link_authenticated key, which checkToken() no longer reads. Aligns the test with master.
Checklist
3. to review, feature component)stable32)AI (if applicable)