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

Adapt test to modern getMount() #1165

Merged
merged 1 commit into from
May 12, 2023

Conversation

artonge
Copy link
Collaborator

@artonge artonge commented May 11, 2023

@artonge artonge force-pushed the artonge/test/adapt_to_modern_getMount branch from 8e595a0 to c9c7545 Compare May 11, 2023 14:49
@artonge artonge self-assigned this May 11, 2023
@artonge artonge added this to the Nextcloud 27 milestone May 11, 2023
@artonge artonge mentioned this pull request May 11, 2023
tests/bootstrap.php Outdated Show resolved Hide resolved
@artonge artonge force-pushed the artonge/test/adapt_to_modern_getMount branch from c9c7545 to daf31c0 Compare May 11, 2023 15:07
@nickvergessen
Copy link
Member

MountManager->getMount() is now throwing an error instead of returning null.

That sounds like a very breaking change, but nextcloud/server#37039 doesn't mention it. Can you add it yourself or post it in the relevant PR so the author can take care?!

@artonge
Copy link
Collaborator Author

artonge commented May 11, 2023

Posted in the PR for Robin.

@artonge artonge force-pushed the artonge/test/adapt_to_modern_getMount branch from daf31c0 to f6d1600 Compare May 11, 2023 17:45
MountManager->getMount() is not throwing an error instead of returning
null.

This commit makes sure that we handle properly the cases of un-existing
mount.

Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the artonge/test/adapt_to_modern_getMount branch from f6d1600 to d6cbf07 Compare May 12, 2023 10:57
@artonge artonge merged commit a639cac into master May 12, 2023
@delete-merged-branch delete-merged-branch bot deleted the artonge/test/adapt_to_modern_getMount branch May 12, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants