So, I just noticed before deploying the latest version of a system that one of the drop downs wasn’t populating on the front end. Now, the front end is far from perfect, but this part of the code actually has pretty good test coverage. So it was a bit puzzling as to why this hadn’t been flagged by the build. Diving into some controller tests I knocked together about nine months ago, I find the following line.
Need I say more?
It seems like I need to keep re-learning the lesson: anything that you’re not testing is wrong.