-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[TestFramework] Usages of TestCase::getTestResultObject are invalid since phpunit v10 #39463
Comments
Hi @stollr. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
This is a blocker for #36804 |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @stollr, Thanks for the report and collaboration! Yes, you are correct, that I can reproduce the issue. Please refer to this #39427 (comment) for more information. Hence confirming the issue. Thanks |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-13502 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
Preconditions and environment
Steps to reproduce
Please look at #39427 (comment). The same code can be used to trigger a call to
\PHPUnit\Framework\TestCase::getTestResultObject()
(see here) which is invalid since phpunit v10.0.@engcom-Hotel already reproduced this issue in the above mentioned issue (see this comment).
Expected result
I am expecting the output of the real reason of the issue, which is the usage of the non-existing scope key
invalid_scope_key
. The error message should look like this:Actual result
But as this
catch
block calls an non-existing method, this error is triggered:Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: