- Issue created by @donquixote
- 🇧🇪Belgium BramDriesen Belgium 🇧🇪
Also spotted your comment on the parent. That should indeed not happen!
If we can add a test case as described in the proposed resolution this would be perfect. Should be easy to write a similar test for all widgets.
- 🇩🇪Germany donquixote
If we can add a test case as described in the proposed resolution this would be perfect. Should be easy to write a similar test for all widgets.
It makes sense, but:
It seems currently none of the widgets have any test.
Does it make sense to add a test that _only_ tests the midnight != NULL case, if we don't add general tests for the widgets?
Or am I missing something? - 🇧🇪Belgium BramDriesen Belgium 🇧🇪
Maybe I shouldn't have said "widget" ;-) be we do have tests for TimeRanges etc.
https://git.drupalcode.org/project/time_field/-/blob/2.x/tests/src/Kerne...
I guess it should be an issue there as well?
- 🇩🇪Germany donquixote
The fix is specifically in the widget, the tests are not covering that.
I can do a FunctionalTest for the widget.