You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens because when using ->components it adds extra padding/styling to the output, so it will not be identical to just the text.
You need to use ->expectsOutputToContain() instead. Or not use components if you need exact text assertions 😄.
I ran the UseComponentPropertyWithinCommandsRector and the tests for my commands failed.
I have built a basic test case, which uses PHP 8.2 and PHPUnit 11.5.
And the test…
Gives the following error;
The text was updated successfully, but these errors were encountered: