Hello, my name is Mark and I will try help you with this.
Depending on the model and year etc. this could be due to a broken drive belt.
On later models with electric steering it could be caused by either a faulty battery or faulty charging system.
The mot does not take into account the condition of the drive belts, alternator or battery.
So as long as the systems worked when tested then it would pass.