Yes, you must have a rear fog light. More importantly than the MOT, it would also fall foul of the construction and use regs, so even with an MOT pass the police could still prosecute (unlikely they'll find out, mind you).
Should be easy to sort, any decent auto electrician should be able to put it back relatively easy.