Cauchy's Integral Theorem says that if a function is analytic in open and simply connected domain and $\gamma$ is a closed curve so:
$$\int_\gamma f(z) \, dz=0$$
Morera Theorem says that if a function is continuous on an open domain such that for every closed curve $$\int_\gamma f(z) \, dz=0$$ So: the function is analytic
So those both theorem are two different directions of iff statement?