Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove broken function resetStorage from test cases #33430

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Aug 2, 2022

The method resetStorage does not work as it does not say on which instance of \OCA\Files_Sharing\SharedStorage it sets the property initialized. It tries to set it on the ReflectionClass instance, which makes no sense.
Spotted by PHP 8.2.

Function came from 391fab3

Signed-off-by: Côme Chilliet [email protected]

@come-nc come-nc added the 3. to review Waiting for reviews label Aug 2, 2022
@come-nc come-nc added this to the Nextcloud 25 milestone Aug 2, 2022
@come-nc come-nc requested a review from a team August 2, 2022 07:22
@come-nc come-nc self-assigned this Aug 2, 2022
@come-nc come-nc requested review from ArtificialOwl, icewind1991 and juliusknorr and removed request for a team August 2, 2022 07:22
This was referenced Aug 12, 2022
@blizzz blizzz mentioned this pull request Aug 24, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81 PVince81 merged commit 696a48a into master Aug 25, 2022
@PVince81 PVince81 deleted the fix/remove-broken-resetstorage branch August 25, 2022 15:05
@blizzz blizzz mentioned this pull request Aug 30, 2022
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants