Home › Forums › General Issues › Setting up mock data for automated tests › Reply To: Setting up mock data for automated tests
Yeah, I know I can go through postmeta table and list all the fields, but I’m trying to avoid that.
I even thought of hooking to post save and trying to see what will be saved there, but this seemed like too much work for setting up automated tests.
Well, if there are no simple ways of doing that I’ll just avoid testing this part, until I can just refactor everything to core editor :S
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.