Smog test with a Cracked exhaust manifold on 1991 Toyota Corolla

It has passed before with the cracked manifold but since it has been sitting for 3 years do I have to replace the manifold before I do my smog test?

Asked by for the 1991 Toyota Corolla
1 answer
it might pass and it might not but Napa has them available for $134 If you have to change it