The code should communicate the intent of the developers.
Frameworks are very powerful and enable the software engineer to take a lot of shortcuts in development. Sometimes, these shortcuts appear to make things happen like magic. Unfortunately, sometimes too much magic results in confusion and a loss of clarity. So while the code may work properly and pass tests, it becomes a challenge for a future programmer to modify it correctly.
Do a favor to the next developer who has to look at your code and ensure that your intent is obvious. Developers typically spend much more time reading code than writing it, so it behooves us to write code that is easier to read and understand.