emissions problem there is no check engine light but vehicle shows not ready for testing

2002 hyundai sonata

if the gas tank has a leak will it cause vehicle emissions to show up as not ready? thank you