Always a good idea to disclose checkride failures. Just be honest, explain what happened and how you learned from it. If the company finds out about it after your hired (and I have seen this) your are asked to step outside of class for a moment and bring your stuff. then no one knows where you went then some guy or gal comes in and re-emphasizes about disclosing stuff etc.
Just tell your friend to be honest. Hope this helps.