repo.publish - data are created in method, not in test