-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Menu widget active with Closure #19060 #19061
Conversation
Menu parent active status gets broken for the rest of the items when using Closure for one item yiisoft#19060
Thank you for putting effort in the improvement of the Yii framework. In order for the framework and your solution to remain stable in the future, we have a unit test requirement in place. Therefore we can only accept your pull request if it is covered by unit tests. Could you add these please? Thanks! P.S. If you have any questions about the creation of unit tests? Don't hesitate to ask for support. More information about unit tests This is an automated comment, triggered by adding the label |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #19061 +/- ##
==========================================
+ Coverage 48.95% 48.98% +0.03%
==========================================
Files 445 445
Lines 42844 42848 +4
==========================================
+ Hits 20973 20988 +15
+ Misses 21871 21860 -11
☔ View full report in Codecov by Sentry. |
@atrandafir is that possible to add some tests for this case so it's not broken again? |
Also would need a line for CHANGELOG to merge it. |
@samdark added the tests and also updated the CHANGELOG Had to change the mock from application to webApplication to find a way to actually make the widget check for |
👍 |
Menu parent active status gets broken for the rest of the items when using Closure for one item #19060