Skip to content

test: Fix PHPUnit 11 use in Behat - #16564

Merged
nickvergessen merged 1 commit into
mainfrom
fix-phpunit-11-use-in-behat
Dec 15, 2025
Merged

test: Fix PHPUnit 11 use in Behat#16564
nickvergessen merged 1 commit into
mainfrom
fix-phpunit-11-use-in-behat

Conversation

@danxuliu

Copy link
Copy Markdown
Member

Follow up to #16082

Talk equivalent of nextcloud/server#56922

Starting with PHPUnit 11.3, some complex outputs of certain asserts
(like "assertStringContainsString") require the output of PHPUnit to be
explicitly setup. Otherwise when the assert fails a type error is
thrown (although it does not seem to affect asserts with simpler
outputs, like "assertEquals").

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@nickvergessen
nickvergessen merged commit 82577dc into main Dec 15, 2025
81 checks passed
@nickvergessen
nickvergessen deleted the fix-phpunit-11-use-in-behat branch December 15, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants