Bodywork damage will only cause an MOT failure if it is dangerous, either to yourself or other drivers. Examples of bodywork damage that will fail the MOT include sharp or jagged edges or big holes.
If your MOT is coming up and you're concerned about your car passing in its current state, we recommend booking a cosmetic repair beforehand. This will avoid any problems.